9 Programming the Instrument
9.3 SCPI Operation and Results Query
9.3.2.2 INITiate
Initiates a trigger cycle for the specified measurement, but does not output any
data. You must then use :FETCh<meas> to return data. If a measurement other than
the current one is specified, the instrument will switch to that measurement and
then initiate it.
Remote
Command
:INITiate:<measurement>
Example Switch to the SANalyzer (Swept SA) measurement if not already there, then start the measurement:
:INIT:SAN
:INITiate does not change any of the measurement settings. For example, if you
have already run the ACP measurement and you send :INIT:ACP? it initiates a new
ACP measurement using the same instrument settings as the last time ACP was run.
If another measurement is running, :INIT switches to the specified measurement.
For example, suppose you are running the channel power measurement. If you send
:INIT:ACP? it changes from channel power to ACP and initiates an ACP
measurement.
If your selected measurement is currently in the idle state, it restarts the
measurement. Depending upon the measurement and the number of averages,
there may be multiple data acquisitions, with multiple trigger events, for one full
trigger cycle.
CAUTION
:INIT allows additional commands
while
the measurement is in progress.
Be aware that such additional commands may change measurement settings.
They may cause the measurement in progress to be discarded, and a new
measurement may start.
To wait for the completion of a measurement after sending :INITiate, send "*WAI
- Wait-to-Continue" on page 2429, or "*OPC? - Operation Complete" on page 2425,
or use "FETCh" on page 2432.
9.3.2.3 FETCh
Places selected data from the most recent measurement into the output buffer. Use
:FETCh if you have already made a valid measurement and you want to retrieve
data. You can issue :FETCh multiple times with differing [n] values without
restarting or re-making the measurement, for example, both scalars and trace data
from a single measurement.
Remote
Command
:FETCh:<measurement>[n]?
Short Range Comms & IoT Mode User's &Programmer's Reference 2432