9 Programming the Instrument
9.3 SCPI Operation and Results Query
from Channel Power back to ACP and, using the previous ACP settings, initiates the
measurement and return results.
The measurement results for n = 1 (usually the scalar result) will be returned if the
optional [n] value is not included, or is set to 1. If the [n] value is set to a value
other than 1, the selected data results will be returned. See each measurement for
details of what types of scalar results or trace data results are available. The binary
data formats should be used for handling large blocks of data since they are smaller
and transfer faster than the ASCII format. See "Format Data: Numeric Data (Remote
Command Only)" on page 2438.
Note that the data returned by :READ? uses the data setting specified by "Format
Data: Byte Order (Remote Command Only)" on page 2439) and "Format Data:
Numeric Data (Remote Command Only)" on page 2438, and can return real or ASCII
data. If the format is set to INT,32 it returns REAL,32 data.
:READ blocks other SCPI communication, waiting until the measurement is
complete before returning results.
For more details of how measurements proceed, see also "INITiate" on page 2432.
9.3.2.5 MEASure
Stops the current measurement (if any) and sets up the instrument for the specified
measurement using the measurement’s default settings, initiates a trigger cycle for
the specified measurement, and outputs the requested data.
Remote
Command
:MEASure:<measurement>[n]?
Example Switch to the SANalyzer (Swept SA) measurement, start the measurement, and read back item 2
(Trace 2) when the measurement completes
:MEAS:SAN2?
This is a fast single-command way to make a measurement using the
measurement’s default settings. These are the settings and units that conform to
the Mode Setup settings (for example, Radio Standard) that you have currently
selected.
Stops the current measurement (if any) and sets up the instrument for the specified
measurement using the measurement’s defaults.
Initiates the data acquisition for the measurement.
Blocks other SCPI communication, waiting until the measurement is complete
before returning results.
Depending on the measurement and the number of avaerages, there may be
multiple data acquisitions, with multiple trigger events.
Short Range Comms & IoT Mode User's &Programmer's Reference 2434