
Model 2790 SourceMeter Switch System Reference Manual
10-15
When the above is sent, the first command word is recognized as the root command (stat).
When the next colon is detected, the path pointer moves down to the next command level
and executes the command. When the path pointer sees the colon after the semicolon (;), it
resets back to the root level and starts over.
Commands that are on the same command level can be executed without having to retype
the entire command path. Example:
stat:oper:enab <NRf>; enab?
After the first command (:enab) is executed, the path pointer is at the third command level
in the structure. Since :enab? is also on the third level, it can be typed in without repeating
the entire path name. Notice that the leading colon for :enab? is not included in the pro-
gram message. If a colon were included, the path pointer would reset to the root level and
expect a root command. Since :enab? is not a root command, an error would occur.
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 sep-
arate 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 com-
mand 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 com-
mand 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), 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:
outp on <PMT>
Содержание 2790
Страница 3: ......
Страница 7: ......
Страница 105: ...2 48 Model 2790 SourceMeter Switch System Reference Manual...
Страница 245: ...7 40 Model 2790 SourceMeter Switch System Reference Manual...
Страница 265: ...8 20 Model 2790 SourceMeter Switch System Reference Manual...
Страница 305: ...10 22 Model 2790 SourceMeter Switch System Reference Manual...
Страница 328: ...12 CommonCommands...
Страница 336: ...13 SCPISignalOriented MeasurementCommands...
Страница 345: ...13 10 Model 2790 SourceMeter Switch System Reference Manual...
Страница 355: ...14 10 Model 2790 SourceMeter Switch System Reference Manual...
Страница 356: ...15 SCPIReferenceTables...
Страница 419: ...16 38 Model 2790 SourceMeter Switch System Reference Manual...
Страница 461: ...A 2 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 462: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 3...
Страница 463: ...A 4 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 464: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 5...
Страница 465: ...A 6 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 466: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 7...
Страница 471: ...A 12 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 472: ...B StatusandErrorMessages...
Страница 479: ...B 8 Model 2790 SourceMeter Switch System Reference Manual...
Страница 493: ...C 14 Model 2790 SourceMeter Switch System Reference Manaul...
Страница 509: ...E 6 Model 2790 SourceMeter Switch System Reference Manual...
Страница 510: ...F IEEE 488BusOverview...
Страница 525: ...F 16 Model 2790 SourceMeter Switch System Reference Manual...
Страница 526: ...G CalibrationReference...