Bitcount
SCPI Command :
SBUS<*>:MANCh:FORMat:FRAMe<*>:FLD<*>:BITCount
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) int[source]
# SBUS<*>:MANCh:FORMat:FRAMe<*>:FLD<*>:BITCount value: int = driver.sbus.manch.formatPy.frame.fld.bitcount.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Specifies the bit count, hence length, of the selected field in the selected frame.
- 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:
bitcount: 1 to 64
- set(bitcount: int, serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) None[source]
# SBUS<*>:MANCh:FORMat:FRAMe<*>:FLD<*>:BITCount driver.sbus.manch.formatPy.frame.fld.bitcount.set(bitcount = 1, serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Specifies the bit count, hence length, of the selected field in the selected frame.
- Parameters:
bitcount – 1 to 64
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’)