Chapter 5 255
Language Reference
MEASure Group of Commands
MEASure Group of Commands
This group includes the CONFigure, FETCh, MEASure, and READ
commands that are used to make measurements and return results.
The different commands can be used to provide fine control of the
overall measurement process, like changing measurement parameters
from their default settings. Most measurements should be done in
single measurement mode, rather than measuring continuously.
The SCPI default for data output format is ASCII. The format can be
changed to binary with FORMat:DATA which transports faster over the
bus.
CONFigure, FETCh, MEASure, READ Interactions
Measure Commands
:MEASure:<measurement>[n]?
This is a fast single-command way to make a measurement using the
factory default instrument settings. These are the settings and units
that conform to the Radio Standard that you have currently selected.
• Stops the current measurement (if any) and sets up the instrument
for the specified measurement using the factory defaults.
• Initiates the data acquisition for the measurement.
• Blocks other SCPI communication, waiting until the measurement is
complete before returning results.
• After the data is valid it returns the scalar results, or the trace data,
for the specified measurement. The type of data returned may be
defined by an [n] value that is sent with the command.
The scalar measurement results 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 trace data results will be returned. See
each command for details of what types of scalar results or trace
data results are available.
ASCII is the default format for the data output. The binary data
formats should be used for handling large blocks of data since they
are smaller and faster then the ASCII format. Refer to the
FORMat:DATA command for more information.
If you need to change some of the measurement parameters from the
factory default settings you can set up the measurement with the
CONFigure command. Use the commands in the
SENSe:<measurement> and CALCulate:<measurement> subsystems
to change the settings. Then you can use the READ? command to