Bit
SCPI Command :
SBUS<*>:CAN:FILTer:FRAMe<*>:FLD<*>:BIT
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusBitState[source]
# SBUS<*>:CAN:FILTer:FRAMe<*>:FLD<*>:BIT value: enums.SbusBitState = driver.sbus.can.filterPy.frame.fld.bit.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Sets the bit state of a field that only consists of one bit.
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
frame – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Frame’)
field – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Fld’)
- Returns:
bit_state: ONE | ZERO
- set(bit_state: SbusBitState, serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) None[source]
# SBUS<*>:CAN:FILTer:FRAMe<*>:FLD<*>:BIT driver.sbus.can.filterPy.frame.fld.bit.set(bit_state = enums.SbusBitState.DC, serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Sets the bit state of a field that only consists of one bit.
- Parameters:
bit_state – ONE | ZERO
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
frame – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Frame’)
field – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Fld’)