Page 78 of 110 150821/A4 Interface
3.1.4 IEEE-488 Command Format
The IEEE-488 commands are configured in Root format. There are six levels of the instruction
from top to bottom. Follow the specific path (as illustrated in Figure 3-3) to configure a specific
command. The colon at the beginning of each line denotes that all line signals are root. Use a
colon (:) to separate levels. Use the semicolon (;) to separate two commands on the same line.
For example, to format the command for the NAME function, use this path:
:CALCulate:MATH:EXPRession:NAME
To format the NAME and CATalog function, use two single commands:
:CALCulate:MATH:EXPRession:NAME
:CALCulate:MATH:EXPRession:CATalog
or use the single command:
:CALCulate:MATH:EXPRession:NAME;CATalog
If the command is a setting, then put the parameter after the instruction. If the command is an
inquiry, then put a question mark (?) after the instruction.
For example, to set the frequency to 1kHz:
:SOURce:FREQuency[:CW]1kHz
To inquire what the frequency is set to:
:SOURce:FREQuency[:CW]?
The lowercase letters and portion in parenthesis can be omitted so the above instruction can be
rewrites as:
:SOUR:FREQ;
The Ending Code can be any type in Table 3-8.
Table 3-8: IEEE-488 Interface Ending Codes
Ending Code
[CR] (0Dh)
[LF] (0Ah)
[CR] (0Dh) + [LF] (0Ah)