
R E M O T E O P E R A T I O N
Command Syntax
44
LDC-3700 Series
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 (Chapter 4) 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. 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. Refer
also to your GPIB interface (controller) manual. 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 <CR> (Carriage Return) as white
space. The LDC−3700B 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.
Following are examples of invalid syntax command strings that will produce errors:
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