Using Remote Control
5.6.2 Program Headers
Program headers are key words that identify the command. They follow the syntax described
in subsection 5.8
of IEEE 488.2. The Power meter accepts characters in both upper and lower
case without distinguishing the difference. Program headers consist of two distinctive types,
common command headers and instrument-controlled headers.
Common Command and Query Headers:
The syntax of common command and query headers is described in IEEE 488.2. It is used
together with the IEEE 488.2-defined common commands and queries. The commands with a
leading “ * ” are common commands.
Instrument-Controlled Headers:
Instrument-controlled headers are used for all other instrument commands. Each of them has a
long form and a short form. The Power meter only accepts the exact short and long forms. A
special notation will be taken to differentiate the short form header from the long one of the
same header in this subsection. The short forms of the headers are shown in characters of
upper case, whereas the rest of the headers are shown in those of lower case.
Long-Form : The word is spelled out completely to identify its function. For instance,
CURRENT, VOLTAGE and MEASURE are long-form.
Short-Form : The word contains only the first three or four letters of the long-form. For
instance, CURR, VOLT and MEAS are short-form.
In the section 5.8.2 Instrument Commands
, the upper case is part of
short-form. For instance, SYSTem : ERRor? can be wrote as SYST :
ERR?
Program Header Separator ( : ):
If a command has more than one header, the user must separate them with a colon (example:
FETC:CURR:RMS? or POW:INT 10). Data must be separated from program header by one
space at least.
5.6.3 Program Message
Program message consists of a sequence of element of program message unit that is separated
by program message unit separator elements of program message unit, and a program
message terminator.
Program Message Unit:
Program message unit represents a single command, programming data, or query.
Example: FILT? or WIND ON
Program Message Unit Separator ( ; ):
The separator (semicolon ;) separates the program message unit elements from one another in
a program message.
Example: VOLT:RANG V300 ; CURR:RANG AUTO
5-5