14-16
Remote Operations
2400 Series SourceMeter
®
User’s Manual
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.
•
The colon (:) at the beginning of a program message is optional and need not be
used. However, eliminating the first colon will result in fastest operation. 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 to the root level.
•
The path pointer can only move down. It cannot be moved 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 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>
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание SourceMeter 2400
Страница 508: ...A Specifications Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 520: ...B StatusandErrorMessages Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 530: ...C DataFlow Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 534: ...D IEEE 488BusOverview Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 554: ...F ContactCheckFunction Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 574: ...G GPIB488 1Protocol Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 589: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 591: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 592: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...