SCPI Command Reference
Understanding SCPI Commands
102 Operating Manual for Multichannel Functionality (GPIB-M)
Parameter
Types
Several different data types are defined for use in program messages and response
messages.
Boolean Parameters
Boolean parameters are single binary conditions such as 1 and 0, or ON and OFF.
The following is an example of a command that uses Boolean parameters:
SYST:COMM:GPIB:PONS {ON|OFF|1|0}
Discrete Parameters
Discrete parameters are used when program settings have a limited number of
values. If you query a discrete parameter, the response will always be in the short
form with all uppercase letters. The following is an example of a command that uses
discrete parameters:
TRIG:SOUR {BUS|EXT|IMM|NONE}
Numeric Parameters
Numeric parameters may include decimal points, +/- signs, and scientific notation.
Values such as MINimum and MAXimum are sometimes accepted as substitutes for
numbers. When DEFault is provided as a parameter, the machine selects the default
value automatically. You can may also use unit suffixes such as, V, A, or W where
appropriate. In cases where specific numeric values are accepted, the power unit will
round the input parameters. The following is an example of a command that uses
numeric parameters:
VOLT:PROT {<voltage>|MAX|MIN}
String Parameters
String parameters are used when a series of ASCII characters is required. Strings
must be enclosed within single or double quotations. The beginning and ending
quotation marks must be matching. The following is an example of a command that
uses string parameters:
CAL:STAT ON,“0000”