10-26
Remote Operations
Model 2701 User’s Manual
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. For fastest operation, do not send optional data.
•
A colon (:) can be used at the beginning of a program message. However, using the
colon slows down execution time. 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 commands within the program message (see next rule).
•
When the path pointer detects a colon (:) that immediately follows a semicolon (;),
it resets back to the root level.
•
The path pointer can only move down. It cannot move up a level. Executing a
command at a higher level requires that you start over at the root command.
Using common 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 level 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), CR (carriage return),
CR-LF or LF-CR. The command processor will hang if your computer does not provide
this termination. The following example shows how a multiple command program
message must be terminated:
trig:coun 1 <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
message are executed.
•
Valid commands that follow an invalid command in a multiple command program
message are ignored.
2701-900-01.book Page 26 Wednesday, August 3, 2011 9:43 AM
Содержание 2701
Страница 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 352: ...13 SCPISignalOriented MeasurementCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...