Srs
SCPI Commands :
INITiate:NRSub:MEASurement<Instance>:SRS
STOP:NRSub:MEASurement<Instance>:SRS
ABORt:NRSub:MEASurement<Instance>:SRS
- Commands in total: 73Subgroups: 6Direct child commands: 3
- abort(opc_timeout_ms: int = -1) None[source]
# ABORt:NRSub:MEASurement<Instance>:SRS driver.nrSubMeas.srs.abort()
Starts, stops or aborts the measurement:
The INITiate:… command starts or restarts the measurement. The measurement enters the RUN state.
The STOP:… command halts the measurement immediately. The measurement enters the RDY state. Measurement results are kept. The resources remain allocated to the measurement.
The ABORt:… command halts the measurement immediately. The measurement enters the OFF state. All measurement values are set to NAV. Allocated resources are released.
To query the current measurement state, use FETCh…STATe?.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- initiate(opc_timeout_ms: int = -1) None[source]
# INITiate:NRSub:MEASurement<Instance>:SRS driver.nrSubMeas.srs.initiate()
Starts, stops or aborts the measurement:
The INITiate:… command starts or restarts the measurement. The measurement enters the RUN state.
The STOP:… command halts the measurement immediately. The measurement enters the RDY state. Measurement results are kept. The resources remain allocated to the measurement.
The ABORt:… command halts the measurement immediately. The measurement enters the OFF state. All measurement values are set to NAV. Allocated resources are released.
To query the current measurement state, use FETCh…STATe?.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- stop() None[source]
# STOP:NRSub:MEASurement<Instance>:SRS driver.nrSubMeas.srs.stop()
Starts, stops or aborts the measurement:
The INITiate:… command starts or restarts the measurement. The measurement enters the RUN state.
The STOP:… command halts the measurement immediately. The measurement enters the RDY state. Measurement results are kept. The resources remain allocated to the measurement.
The ABORt:… command halts the measurement immediately. The measurement enters the OFF state. All measurement values are set to NAV. Allocated resources are released.
To query the current measurement state, use FETCh…STATe?.
- stop_with_opc(opc_timeout_ms: int = -1) None[source]
# STOP:NRSub:MEASurement<Instance>:SRS driver.nrSubMeas.srs.stop_with_opc()
Starts, stops or aborts the measurement:
The INITiate:… command starts or restarts the measurement. The measurement enters the RUN state.
The STOP:… command halts the measurement immediately. The measurement enters the RDY state. Measurement results are kept. The resources remain allocated to the measurement.
The ABORt:… command halts the measurement immediately. The measurement enters the OFF state. All measurement values are set to NAV. Allocated resources are released.
To query the current measurement state, use FETCh…STATe?.
Same as stop, but waits for the operation to complete before continuing further. Use the RsCMPX_NrFr1Meas.utilities.opc_timeout_set() to set the timeout value.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
Cloning the Group
# Create a copy of the original group, that exists independently
srs_copy = driver.nrSubMeas.srs.clone()
Subgroups