Command Syntax
This section describes command syntax and structure. This information must be
understood in order to effectively write GPIB control programs. The syntax of
GPIB commands follow the rules defined in the ANSI/IEEE 488.2-1987 standard.
Letters
Any GPIB command or query must contain all of the letters which are shown in
upper case in the command definition. Some of the device dependent commands
include additional optional letters shown in lower case in the command reference
(Chapter 5 - Command Reference). Upper/lower case does not matter; it is used
in this manual to identify optional letters. The optional letters must be in the
correct sequence. Some examples of what works and what does not are shown
below.
Table 4.1 Acceptable Spelling
Acceptable
DIS
Disp
Displ
Displa
Display
White Space
"White space" is normally the space character (space bar). A single white space
must separate a command from its parameters or data. For example:
Table 4.2 White Space
Acceptable
DELAY 500
To enhance readability, one or more white spaces may be used before a comma,
semicolon, or terminator. Since the computer normally places the terminator at
the end of each command string (line), this simply means that an extra space
character at the end of the command line works acceptably.
03_10
Not Acceptable
DS
dsp
dply
DSPLY
disply
Not Acceptable
DELAY500
R E M O T E O P E R A T I O N
Command Syntax
4
C H A P T E R
51
LDX-36000 Series