Programming with SCPI Subsystem Commands
MS20xxC PM PN: 10580-00306 Rev. E 2-7
Query Commands
All commands, unless specifically noted in the commands syntax descriptions, have a query
form (refer also to Section 2-10 “Command and Query Notational Conventions” on page 2-12).
As defined in IEEE-488.2, a query is a command with a question mark symbol appended
(examples: *IDN? and :TRACe[:DATA]? [1]|2|3|4). When a query form of a command
is received, the current setting that is associated with the command is placed in the output
buffer. Query commands usually return the short form of the parameter. Boolean values are
returned as 1 or 0, even when they can be set as on or off.
Identifiers
Some or all of the following identifiers have been used throughout the optional command
definitions. Descriptions are provided here. In most cases, units are specified with the
individual command.
Table 2-3. Description of Command Indentifiers
Identifier Description
<amplitude> Amplitude value. Units specified with the command.
<freq> Frequency. Units specified with the command.
<integer> Integer value, no units. Range specified with the command.
<number> Numeric value, integer or real.
<percentage> Percentage value from 0 to 100. Units are always %.
<rel ampl> Relative amplitude. Units are always dB.
<x-parameter> Parameter value in the units of the x-axis. Units are specified with the
command.
<string> The string should be enclosed in either single quotes (‘ ’) or double
quotes (“ ”).
<file name> The name should be enclosed in either single quotes (‘ ’) or double quotes
(“ ”). The need for an extension is documented with applicable commands.
<voltage> Voltage. Units specified with the command.
<current> Current. Units specified with the command.