State

SCPI Command :

BUS<*>:PARallel:BIT<*>[:STATe]
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default, bitNull=BitNull.Default) bool[source]
# BUS<*>:PARallel:BIT<*>[:STATe]
value: bool = driver.bus.parallel.bit.state.get(bus = repcap.Bus.Default, bitNull = repcap.BitNull.Default)

Assigns the selected digital channel to the indicated bus, displays it, and enables the bus if the bus was disabled. That is, method RsRtx.bus.parallel.display.shdi.set() and method RsRtx.bus.parallel.state.set() are set to ON automatically. If another active bus already uses the selected digital channel, the instrument disables the other bus to avoid conflicts. For parallel bus 1, the method RsRtx.bus.parallel.bit.state.set() command has the same effect as method RsRtx.digital.display.set() .

Parameters:
  • bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)

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

set(assigned_this_bus: bool, bus=Bus.Default, bitNull=BitNull.Default) None[source]
# BUS<*>:PARallel:BIT<*>[:STATe]
driver.bus.parallel.bit.state.set(assigned_this_bus = False, bus = repcap.Bus.Default, bitNull = repcap.BitNull.Default)

Assigns the selected digital channel to the indicated bus, displays it, and enables the bus if the bus was disabled. That is, method RsRtx.bus.parallel.display.shdi.set() and method RsRtx.bus.parallel.state.set() are set to ON automatically. If another active bus already uses the selected digital channel, the instrument disables the other bus to avoid conflicts. For parallel bus 1, the method RsRtx.bus.parallel.bit.state.set() command has the same effect as method RsRtx.digital.display.set() .

Parameters:
  • assigned_this_bus – OFF | ON

  • bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)

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