State

SCPI Command :

DIGital<*>:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(digital=Digital.Default) bool[source]
# DIGital<*>:STATe
value: bool = driver.digital.state.get(digital = repcap.Digital.Default)

Enables or disables the indicated digital channel, displays it, and enables the Logic 1 if the bus was disabled. If another active bus already uses the selected digital channel, the instrument disables the other bus to avoid conflicts. For Logic 1, the method RsMxo.digital.state.set() command has the same effect as method RsMxo.pbus.bit.state.set() . To enable digital channels for buses 2, 3 and 4, use the method RsMxo.pbus.bit.state.set() command.

Parameters:

digital – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Digital’)

Returns:

state: OFF | ON

set(state: bool, digital=Digital.Default) None[source]
# DIGital<*>:STATe
driver.digital.state.set(state = False, digital = repcap.Digital.Default)

Enables or disables the indicated digital channel, displays it, and enables the Logic 1 if the bus was disabled. If another active bus already uses the selected digital channel, the instrument disables the other bus to avoid conflicts. For Logic 1, the method RsMxo.digital.state.set() command has the same effect as method RsMxo.pbus.bit.state.set() . To enable digital channels for buses 2, 3 and 4, use the method RsMxo.pbus.bit.state.set() command.

Parameters:
  • state – OFF | ON

  • digital – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Digital’)