Remote Spectrum Monitor : SCPI SPA Commands : :INITiate Subsystem
 
:INITiate Subsystem
This subsystem controls the triggering of measurements.
:INITiate:CONTinuous <0 | 1 | ON | OFF>
:INITiate:CONTinuous?
Title
SweepType
Description
Specifies whether the sweep/measurement is triggered continuously. If the value is set to ON or 1, another sweep/measurement is triggered as soon as the current one completes. If continuous is set to OFF or 0, the instrument remains initiated until the current sweep/measurement completes, then enters the ìidleî state and waits for the :INITiate[:IMMediate] command or for :INITiate:CONTinuous ON.
If :INITiate:CONTinuous is changed to ON before the current sweep/measurement completes, a new sweep/measurement will be continously triggered as soon as the current sweep/measurement completes. If :INITiate[:IMMediate] is received before the current sweep/measurement completes, it will be ignored. Clients must either wait for the current sweep/measurement to complete before triggering a ’single sweep’, or :ABORt the sweep/measurement after setting :INITiate:CONTinuous to OFF (which will cause the instrument to immediately enter the idle state where it can accept new triggers).
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.
Parameter(s)
<0 | 1 | ON | OFF>
Query Return
0 | 1
Default Value
ON
:INITiate[:IMMediate]
Title
Initiate Single Sweep
Description
Initiates a sweep/measurement. If :INITiate:CONTinuous is set to ON, or if :INITiate:CONTinuous is set to OFF but the current sweep has not completed yet, this command is ignored. Use this command in combination with :STATus:OPERation? or *OPC? 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 has not completed. 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, data is ready to be retrieved.
This command is also overlapped, so alternatively, *OPC? can be used to wait for completion of the measurement without polling. When this command is received, the pending operation bit is set. The pending operation will finish once the sweep/measurement is done. Clients can use *OPC? to ’block’ until the sweep/measurement is completed.
:INITiate[:IMMediate]:ALL
Title
Initiate Average Count Sweep
Description
Initiates sweep untill all active traces reach its average count
Parameter(s)
none
:INITiate:SPA:SELFtest?
Title
Self Test
Description
Perform a self-test and return the results. The response is formatted as a JSON (http://json.org/) array of name,value pair result objects. Some result objects also include a ’status’ property that will be either ’pass’ or ’fail’ based on whether the criteria for that test was met.
For tests of voltages, the test passes if the measured voltage is within 10% of the expected voltage.
Parameter(s)
none