REMOTE CONTROL
49
Query
A query is a simple or compound
command followed by a question
mark (?). A parameter (data) is
returned.
Example
meas:curr:dc?
Compound
Two or more commands on the
same command line. Compound
commands are separated with
either a semi-colon (;) or a semi-
colon and a colon (;:).
A semi-colon is used to join two
related commands, with the
caveat that the last command
must begin at the last node of the
first command.
A semi-colon and colon are used
to combine two commands from
different nodes.
Example
meas:volt:dc?;:meas:curr:dc?
Command Forms
Commands and queries have two different forms,
long and short. The command syntax is written
with the short form of the command in capitals
and the remainder (long form) in lower case.
The commands can be written in capitals or lower-
case, just so long as the short or long forms are
complete. An incomplete command will not be
recognized.
Below are examples of correctly written
commands.