Remote Operation
Manual 20791, Rev. C, June 2001
3-7
3.3
Structured GPIB Language
The 8003 is a complex instrument with many features. The goal of providing a structured language
environment is to make programming the 8003 easier. The advantage of using a structured language is
that it provides a common structure for each command. This structure is easy to remember and makes
the resulting programming command strings readable by others. This, in turn, helps make your programs
more self documenting, thus aiding in maintaining them.
3.3.1
Common Structure
The language used in the 8003 command structures is in accordance with ANSI/IEEE Std. 488.2-1987,
IEEE Standard Codes, Formats, Protocols, and Common Commands. Each structure defines a
command, which addresses an 8003 feature or resource. The command is defined by a context setting
VERB mnemonic. The general form for all commands is as follows:
VERB [
hs
specifier] [
ds
sensor specifier] [
us
modifier]...[
us
modifier]
Where
VERB
is a context setting mnemonic which is always required. For convenience, long and short
forms for the same verb are sometimes available (for example, POWER and PWR).
The mnemonic inside the brackets is optional (see Section 3.3.3 for definition of each separator).
hs
is a header separator
ds
is a data separator
us
is a unit separator
The ... notation indicates that a field may be repeated. In the general syntax format, it indicates that the
modifier may be repeated.
The
specifier
can be either a channel or sensor specifier. The type of specifier is particular to the
command.
A
channel specifier
is a mnemonic that defines the channel for which the command is to be applied. In
the general syntax form shown above, this specifier is shown as optional. The type of command
determines whether or not it is required. This specifier is for all channel-specific command VERBS. An
example of a channel specific command would be a command that directed the 8003 to make a
measurement on a given channel. An example of a non-channel specific command would be to direct
the 8003 to use the graphic display mode or to turn off the private bus.
A
sensor specifier
is a mnemonic that defines a sensor or sensor pair for which the command is to be
applied. This specifier is for all sensor-specific commands. An example would be a command that directs
the 8003 to calibrate a sensor.
A
modifier
is a sub-structure to modify or augment the main context. This sub-structure also has a
general format which is defined below. When several different versions of a modifier are given (such as
OFFSET, OS, ATTN), any version can be used with the same results.
3.3.2
8003 GPIB Commands
Tables 3-2 and 3-3 lists the 8003 GPIB commands. The commands are duplicated on the separate
laminated sheet furnished with this manual.
Содержание 8003
Страница 3: ......
Страница 14: ...8003 Precision Scalar Analyzer x Manual 20791 Rev C June 2001 ...
Страница 16: ...8003 Precision Scalar Analyzer xii Manual 20791 Rev C June 2001 ...
Страница 18: ...8003 Precision Scalar Analyzer xiv Manual 20791 Rev C June 2001 ...
Страница 20: ...8003 Precision Scalar Analyzer xvi Manual 20791 Rev C June 2001 ...
Страница 36: ...8003 Precision Scalar Analyzer 1 16 Manual 20791 Rev C June 2001 ...
Страница 38: ...8003 Precision Scalar Analyzer 2 2 Manual 20791 Rev C June 2001 Figure 2 1 8003 Front Rear Panel Components ...
Страница 142: ...8003 Precision Scalar Analyzer 2 106 Manual 20791 Rev C June 2001 ...
Страница 232: ...8003 Precision Scalar Analyzer 4 18 Manual 20791 Rev C June 2001 ...
Страница 252: ...8003 Precision Scalar Analyzer B 16 Manual 20791 Rev C June 2001 ...
Страница 258: ...8003 Precision Scalar Analyzers Index 6 Manual 20791 Rev C June 2001 ...