Command Syntax
You can create c
ommands and queries from these subsystem hierarchy trees.
Commands specify actions for the instrument to perform. Queries return
measurement data and information about parameter settings.
Message Terminators
This manual u
ses the term <EOM> (End of message) to represent a message
terminator.
USB End of Message (EOM) terminators. See the USB Test and Measurement
Class Specification (USBTMC) section 3.2.1 for details. The power supply
terminates messages by setting the EOM bit in the USB header of the last
transfer
of a message to the host (USBTMC Specification section 3.3.1), and by
terminating messages with a LF.
When rec
eiving, the power supply expects a LF and an asserted EOM bit as a
message terminator. When using the GPIB i nterface, the power supply expects a
line feed (LF) as the message terminator.
Parameter types
Many po
wer supply commands require paramete rs. Parameters are indicated
by angle brackets, such as <file_name>. T here are several different types of
parameters, as listed in the following table. The parameter type is listed after the
parameter. Some parameter types are defined specifi cally for the power supply
command set and some are defined by SCPI. (See Table 2-4.)
Table 2-4: Types of parameters
Parameter type Description Example
boolean Boolean numbers or values ON or ≠ 0
OFF or 0
discrete
A list of specific values
MIN, MAX
NR1 numeric Integers 0, 1, 15, -1
NR2 numeric Decimal numbers 1.2, 3.141516, -6.5
NR3 numeric Floating point numbers 3.1415E-9, -16.1E5
NRf numeric
Flexible decimal number that
maybetypeNR1,NR2,orNR3
See NR1, NR2, NR3 examples in
this table
string
Alphanumeric characters (must
be within quotation marks)
“Testing 1, 2, 3”
2-4 Series 2200 Programmable Multichannel D C Power Supplies Programmer Manual