VNA Master™Programming Manual : Spectrum Analyzer Commands : :INITiate Subsystem
 
:INITiate Subsystem
This subsystem controls the triggering of measurements.
 
Continuous/Single Sweep
:INITiate:CONTinuous
Description
Specifies whether the sweep/measurement is triggered continuously. If the value is set to ON or 1, then another sweep/measurement is triggered as soon as the current one is complete. If continuous is set to OFF or 0, then the instrument enters the “idle” state and waits for the :INITiate[:IMMediate] command or for :INITiate:CONTinuous ON. The default value is ON. That is, sending :INIT:CONT is equivalent to sending :INIT:CONT ON. The query version of the command returns a 1 if the instrument is continuously sweeping/measuring and returns a 0 if the instrument is in single sweep/measurement mode. Note that rapid toggling between ON and OFF is not allowed. The instrument must be allowed to make a full sweep before toggling can be done.
Syntax:
:INITiate:CONTinuous OFF|ON|0|1
:INITiate:CONTinuous?
Cmd Parameter
<boolean> OFF|ON|0|1
Query Response
<bNR1> 0|1
Default Value
ON
Related Command
:INITiate[:IMMediate]
:INITiate:HOLD
Front Panel Access
Shift‑3 (Sweep), Sweep
 
Trigger Sweep/Measurement
:INITiate[:IMMediate]
Description
Initiates a sweep/measurement. If :INITiate:CONTinuous is set to ON, then this command is ignored. Use this command in combination with :STATus:OPERation? to synchronize the capture of one complete set of data. When this command is sent, the “sweep complete” bit of :STATus:OPERation? is set to 0, indicating that the measurement is not complete. The data collection is then triggered. The controlling program can poll :STATus:OPERation? to determine the status. When the “sweep complete” bit is set to 1, then data is ready to be retrieved.
When averaging is on, the sweep complete bit is set after the first sweep is completed. An :INITiate[:IMMediate] command must be issued for each additional sweep that is desired.
Syntax:
:INITiate[:IMMediate]
Related Command
:INITiate:CONTinuous
:STATus:OPERation?
Front Panel Access
Shift‑3 (Sweep), Manual Trigger
 
Save On Crossing Limit
:INITiate:SAVe:ON:EVENt:CROSsing:LIMit OFF|ON|0|1
Description
When set to ON, automatically saves measurement data when the trace crosses a specified limit line. A limit line must be defined before this command can be enabled.
Default Value
OFF
Related Command
:CALCulate:LIMit
:MMEMory:STORe:TRACe
Front Panel Access
Shift-7 (File), Save On Event, ...Crossing Limit
Save On Sweep Complete
:INITiate:SAVe:ON:EVENt:SWEep OFF|ON|0|1
Description
When set to ON, measurement data is automatically saved after each sweep is completed.
Default Value
OFF
Related Command
:MMEMory:STORe:TRACe
Front Panel Access
Shift-7 (File), Save On Event, ...Sweep Complete
Save Then Stop
:INITiate:SAVe:THEn:STOp OFF|ON|0|1
Description
When set to ON, stops the sweep after a measurement is saved. If this setting is Off and Sweep Complete is On, a measurement is saved after every sweep.
Default Value
OFF
Related Command
:MMEMory:STORe:TRACe
Front Panel Access
Shift-7 (File), Save On Event, Save Then Stop