Status

SCPI Command :

STATus:PRESet
class StatusCls[source]

Status commands group definition. 37 total commands, 7 Subgroups, 1 group commands

preset() None[source]
# SCPI: STATus:PRESet
driver.status.preset()
Configures the status reporting system such that device-dependent events are not reported at a higher level.

INTRO_CMD_HELP: The command affects only the transition filter registers, the ENABle registers, and queue enabling:

  • The ENABle parts of the STATus:OPERation and STATus:QUEStionable… registers are set to all 0’s.

  • The PTRansition parts are set all 1’s, the NTRansition parts are set to all 0’s, so that only positive transitions in the CONDition part are recognized.

The status reporting system is also affected by other commands, see ‘Reset values of the status reporting system’.

preset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: STATus:PRESet
driver.status.preset_with_opc()
Configures the status reporting system such that device-dependent events are not reported at a higher level.

INTRO_CMD_HELP: The command affects only the transition filter registers, the ENABle registers, and queue enabling:

  • The ENABle parts of the STATus:OPERation and STATus:QUEStionable… registers are set to all 0’s.

  • The PTRansition parts are set all 1’s, the NTRansition parts are set to all 0’s, so that only positive transitions in the CONDition part are recognized.

The status reporting system is also affected by other commands, see ‘Reset values of the status reporting system’.

Same as preset, but waits for the operation to complete before continuing further. Use the RsCmwBase.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.status.clone()

Subgroups