
Command path rules
•
Each new program message must begin with the root command, unless it is optional
(e.g., [:SENSe]). If the root is optional, simply treat a command word on the next level
as the root.
•
The colon (:) at the beginning of a program message is optional and need not be used.
Example:
:stat:pres = stat:pres
•
When the path pointer detects a colon (:) it moves down to the next command level. An
exception is when the path pointer detects a semicolon (;), which is used to separate com-
mands within the program message (see next rule).
•
When the path pointer detects a colon (:) that immediately follows a semicolon (;), it re-
sets back to the root level.
•
The path pointer can only move down. It cannot be moved up a level. Executing a com-
mand at a higher level requires that you start over at the root command.
Using common commands and SCPI commands in the same message
Both common commands and SCPI commands can be used in the same message as long as
they are separated by semicolons (;). A common command can be executed at any command lev-
el and will not affect the path pointer. Example:
:stat:oper:enab <NRf>; *ESE <NRf>
Program message terminator (PMT)
Each program message must be terminated with an LF (line feed), EOI (end or identify), or
an LF+EOI. The bus will hang if your computer does not provide this termination. The following
example shows how a multiple command program message must be terminated:
:rout:open:all; scan (@1:5) <PMT>
Command execution rules
•
Commands execute in the order that they are presented in the program message.
•
An invalid command generates an error and, of course, is not executed.
•
Valid commands that precede an invalid command in a multiple command program mes-
sage are executed.
•
Valid commands that follow an invalid command in a multiple command program mes-
sage are ignored.
Remote Operation
4-37
Summary of Contents for 2000
Page 1: ...Model 2000Multimeter User s Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Page 13: ...1 General Information...
Page 19: ...2 Basic Measurements...
Page 54: ...2 36 Basic Measurements...
Page 55: ...3 Measurement Options...
Page 87: ...4 Remote Operation...
Page 139: ...5 SCPI CommandReference...
Page 215: ...A Specifications...
Page 226: ...A 12 Specifications...
Page 227: ...B Statusand ErrorMessages...
Page 233: ...C Example Programs...
Page 246: ...C 14 Example Programs...
Page 247: ...D Models196 199and 8840A 8842ACommands...
Page 255: ...E IEEE 488 BusOverview...