
R E M O T E O P E R A T I O N S
Remote Configuration
28
LDC-3926339
C H A P T E R
3
Syntax Summary
GPIB commands must contain all of the letters shown in upper case in the
command definition. Optional letters shown in lower case for some device
dependent commands in the command reference are useful for clarity, but must
be in the correct sequence.
A single white space must separate a command from its parameters or data.
White space is normally the space character (space bar). Other control
characters are also interpreted as white space.
Note:
Do not use white space before the question mark in a query command.
If you encounter problems with GPIB communications, the terminator string can
be the cause. The instrument accepts <NL>, or <^END>, or <NL><^END> as a
command line terminator. Many computers terminate with <CR> <NL> <^END>
(Carriage Return - New Line - EOI). The instrument ignores the <CR> (Carriage
Return) and treats it as white space. The LDC-3926 terminates its responses with
<CR><NL><^END>, unless you use the TERM command to change it.
You can put more than one command on the same line (same command string) if
you separate them with a semicolon.
GPIB uses a flexible representation for numeric parameters: integer, floating point,
or engineering/scientific notation. There are no default values for omitted
parameters.
Some device-dependent GPIB commands are compound commands, in which
the first mnemonic opens a path to a set of commands relating to that path. The
second mnemonic then defines the actual command.
Table 3.2 shows examples of invalid syntax command strings that produce errors:
IEEE 488.2 Common Commands
IEEE 488.2 Common Commands and Queries are distinguished by the "*" which
begins each mnemonic. The diagrams below show the syntax structure for
common commands, common command queries, and common commands with
numeric data required.
Table 3.2
Invalid Syntax Command Strings
COMMAND
COMMENT
TEC:MODE T
Missing colon, MODE? expected.
TEC:MODE:R DEC
Missing semicolon, DEC command generates an error.
LAS:DIS ?
Space not allowed before question mark, DIS command
expected.
Las:LDI33;dis?
Space missing between LDI command and the parameter
value, 33.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com