beautypg.com

AMETEK Lx Series II Programming Manual User Manual

Page 20

background image

Programming Manual

Lx \ Ls Series II

16

VOLT : LEV 80 ; PROT 88 ; : CURR?

Headers

Data

Message Unit

Query Indicator

Header

Separator

Message

Unit

Separator

Root Specifier

Message

Terminator

Figure 2-2: Command Message Structure

The basic parts of the above message are:

Message Component

Example

Headers

VOLT

LEV

PROT

CURR

Header Separator

The colon in VOLT:LEV

Data

80 88

Data Separator

The space in VOLT 80 and PROT 88

Message Units

VOLT:LEV 80

PROT 88 CURR?

Message Unit Separator

The semicolons in VOLT:LEV 80; and PROT 88;

Root Specifier

The colon in PROT 88;:CURR?

Query Indicator

The question mark in CURR?

Message Terminator

The (newline) indicator. Terminators are not part of the SCPI syntax

2.5.3 Headers

Headers are instructions recognized by the AC source. Headers (which are sometimes known as
"keywords") may be either in the long form or the short form.

Long Form

The header is completely spelled out, such as VOLTAGE, STATUS, and
DELAY.

Short Form

The header has only the first three or four letters, such as VOLT, STAT,
and DEL.

The SCPI interface is not sensitive to case. It will recognize any case mixture, such as TRIGGER,
Trigger, TRIGger. Short form headers result in faster program execution.

Header Convention

In the command descriptions in chapter 3 of this manual, headers are emphasized with boldface
type. The proper short form is shown in upper-case letters, such as DELay.

Header Separator

If a command has more than one header, you must separate them with a colon (VOLT:PROT
OUTPut:RELay:POLarity).

Optional Headers

The use of some headers is optional. Optional headers are shown in brackets, such as
OUTPut[:STATe] ON. As previously explained under "The Effect of Optional Headers", if you