User manual

Table Of Contents
Publication No. 980935 Rev. M 3152B User Manual
Astronics Test Systems Programming Reference 5-5
command to have the same effect whether the optional node is
omitted by the programmer or not. Letter case in
tables is used to
differentiate between the accepted short form (upper case) and the
long form (upper and lower case).
The Parameter Form column indicates the number and order of
parameter in a command and their legal value. Parameter types are
distinguished by enclosing the type in angle brackets ( < > ). If
parameter
form is enclosed by square brackets ( [ ] ) these are then
optional (care must be taken to ensure that optional parameters are
consistent with the intention of the associated keywords). The vertical
bar ( | ) can be read as "or" and is used to separate alternative
parameter options.
Alternative
Comma
nd Set
(HS Commands)
In addition to the SCPI command set, there is an alternative command
set which increase
d the throughput of the 3152A by a
typical factor of
2
or
3. Actual throughput improvements depend on the test program
and the controlling device. Speed increase is obtained by using a
system of numerical commands that are decoded by a “jump table”
then immediately executed by the code without going through the
SCPI
parser, thus saving a lot of time.
The
HS (High Speed) commands are numeric values
that each
corres
pond to a specific SCPI command
. A number is substituted for
the SCPI command name and a number is substituted for any text
type (discrete and Boolean) SCPI parameter(s). Note however that
unlike SCPI parsers that are flexible in the way that characters are
sent, the HS mode rejects additional spaces and characters and
issues error codes. For example, the command to turn off the output
of the 3152B is:
OUTP ON
HS command syntax for the same command is:
0200A1
0200A is the HS equivalent to the OUTP command and 1 indicates
ON. Special rules for using HS commands are described in the next
section. Table
s 5-1 and 5-2 provide a complete, cross-reference
d
listing of all HS commands and their SCPI counterparts.
Invok
ing HS
Command
Mode
The first step in the process of using the HS command set is to place
the instrument in HS mode. Do this using the following SCPI
command:
INSTrument:MODE FAST
To terminate FAST mode to and resume the usage of standard SCPI
commands, use the following HS command:
0150A0
Note that 015A0 is the only HS command without a corresponding
SCPI command. The implied SCPI command would be
INSTrument:MODE NORMal, but this command does not exist