State
SCPI Command :
PBUS<*>:BIT<*>[:STATe]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(pwrBus=PwrBus.Default, bit=Bit.Default) bool[source]
# PBUS<*>:BIT<*>[:STATe] value: bool = driver.pbus.bit.state.get(pwrBus = repcap.PwrBus.Default, bit = repcap.Bit.Default)
Enables the selected logic group. The corresponding signal icon appears on the signal bar. If another active bus already uses the selected digital channel, the instrument disables the other bus to avoid conflicts.
- Parameters:
pwrBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pbus’)
bit – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Bit’)
- Returns:
assigned: OFF | ON
- set(assigned: bool, pwrBus=PwrBus.Default, bit=Bit.Default) None[source]
# PBUS<*>:BIT<*>[:STATe] driver.pbus.bit.state.set(assigned = False, pwrBus = repcap.PwrBus.Default, bit = repcap.Bit.Default)
Enables the selected logic group. The corresponding signal icon appears on the signal bar. If another active bus already uses the selected digital channel, the instrument disables the other bus to avoid conflicts.
- Parameters:
assigned – OFF | ON
pwrBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pbus’)
bit – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Bit’)