Fetch – Agilent Technologies Signal Analyzer N9030a User Manual

Page 113

Advertising
background image

3  Programming the Analyzer

Remote Measurement Functions

Measurement settings persist if you initiate a different measurement and then return to a
previous one. If you want to use those persistent settings, use READ:<measurement>?. If you want
to use the default settings, use MEASure:<measurement>?.

CONFigure Commands

:CONFigure:<measurement>

This command stops the current measurement (if any) and sets up the instrument for the
specified measurement using the factory default instrument settings. It does not initiate the taking
of measurement data unless INITiate:CONTinuous is ON. If you change any measurement settings
after using the CONFigure command, the READ command can be used to initiate a measurement
without changing the settings back to their defaults.

In the Swept SA measurement in Spectrum Analyzer mode, the CONFigure command also turns the
averaging function on and sets the number of averages to 10 for all measurements.

:CONFigure: <measurement>: NDEFault

Stops the current measurement and changes to the specified measurement. It does not change the
settings to the defaults. It does not initiate the taking of measurement data unless
INITiate:CONTinuous is ON.

CONFigure?

Returns the current measurement name.

CONFigure:CATalog?

Returns a quoted string of all licensed measurement names in the current mode.  For example,
"SAN, CHP, OBW, ACP, PST, TXP, SPUR, SEM, LIST".

FETCh Command

:FETCh:<measurement>[n]?

This command puts selected data from the most recent measurement into the output buffer. Use
FETCh if you have already made a good measurement and you want to return several types of
data (different [n] values, for example, both scalars and trace data) from a single measurement.
FETCh saves you the time of re-making the measurement. You can only FETCh results from the
measurement that is currently active, it will not change to a different measurement. An error
message is reported if a measurement other than the current one is specified.

If you need to get new measurement data, use the READ command, which is equivalent to an
INITiate followed by a FETCh.

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.

Remote Language Compatibility Measurement Application Reference

113

Advertising