9 Programming the Instrument
9.3 SCPI Operation and Results Query
9.3 SCPI Operation and Results Query
You can use SCPI commands for remote control of measurements and querying of
measurement results data. There are several alternative commands you can use to
control the measurement, depending on how you wish to operate the instrument.
There are also a number of queries that you can use to extract the measurement
data.
In this section, “Mode” refers to a Measurement Application, for example, Spectrum
Analyzer or 5G NR.
9.3.1 Mode Control
Use either :INSTrument:SELect or :INSTrument:NSELect to select the Mode.
See "Mode" on page 50.
:INSTrument:CONFigure causes a Mode and Measurement switch at the same
time. This results in faster overall switching than sending :INSTrument:SELect
and :CONFigure separately, as described in "Mode" on page 50.
9.3.2 Measurement Control
This section describes the measurement control commands listed below, and their
functions.
"CONFigure" on
page 1076
Switches to the desired measurement. Presets all measurement settings to their
defaults, unless:NDEFault is specified
"INITiate" on
page 1077
Starts the measurement
"FETCh" on page
1077
Queries the data without starting the measurement. If a measurement is already
in progress, waits for completion
"READ" on page
1078
Starts the measurement with the current settings and queries the data
"MEASure" on
page 1079
Switches to the desired measurement, presets all measurement settings to their
defaults, starts the measurement and queries the data
The relationship between the command forms is illustrated in the diagram below.
:FETCh, :READ and :MEASure are queries that return measurement data.
1075 IQ Analyzer Mode User's &Programmer's Reference