Status
SCPI Command :
STATus:PRESet
- Commands in total: 51Subgroups: 2Direct child commands: 1
- preset() None[source]
# STATus:PRESet driver.status.preset()
Resets the status registers. All PTRansition bits are set to 1, i.e. all transitions from 0 to 1 are detected. All NTRansition bits are set to 0, i.e. a transition from 1 to 0 in a CONDition bit is not detected. All EVENt bits are set to 0. The ENABle bits of method
RsMxo.status.operation.event()and STATus:QUEStionable are set to 0, i.e. all events in these registers are not passed on.
- preset_and_wait(opc_timeout_ms: int = -1) None[source]
# STATus:PRESet driver.status.preset_and_wait()
Resets the status registers. All PTRansition bits are set to 1, i.e. all transitions from 0 to 1 are detected. All NTRansition bits are set to 0, i.e. a transition from 1 to 0 in a CONDition bit is not detected. All EVENt bits are set to 0. The ENABle bits of method
RsMxo.status.operation.event()and STATus:QUEStionable are set to 0, i.e. all events in these registers are not passed on.Same as preset, but waits for the operation to complete before continuing further. Use the RsMxo.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
status_copy = driver.status.clone()
Subgroups