Agilent Technologies Signal Analyzer N9030a User Manual

Page 112

Advertising
background image

3  Programming the Analyzer
Remote Measurement Functions

MEASure Command

: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 Mode Setup settings (e.g. Radio
Standard) that you have currently selected.

Sending this query:

l

Stops the current measurement (if any) and sets up the instrument for the specified
measurement using the factory defaults,

l

Initiates the data acquisition for the measurement,

l

Blocks other SCPI communication, waiting until the measurement is complete before returning
results,

l

Turns on averaging (if the function does averaging), and sets the number of averages to 10, 25,
or 50, depending upon the current measurement,

l

After the data is valid, 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.

If the optional [n] parameter is not included, or is set to 1, the scalar measurement results are

returned. If the [n] parameter is set to a value other than 1, the selected trace data results
are returned. For details of the types of scalar results or trace data results that are available,
see the introductory description for each measurement in the User’s and Programmer’s
References or online Help.

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 more compact than the ASCII format. Refer to

"Format Data: Numeric Data (Remote Command Only)" on page 124

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,
use the READ? command to initiate the measurement and query the results.

If you need to repeatedly make a given measurement with settings other than the factory defaults,
you can use the commands in the SENSe:<measurement> and CALCulate:<measurement>
subsystems to set up the measurement. Then, use the READ? command to initiate the
measurement and query results.

112

Remote Language Compatibility Measurement Application Reference

Advertising