State
SCPI Command :
SBUS<*>:I2C:FRAMe<*>:FLD<*>:STATe
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusI2cFrameState[source]
# SBUS<*>:I2C:FRAMe<*>:FLD<*>:STATe value: enums.SbusI2cFrameState = driver.sbus.i2C.frame.fld.state.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Returns the overall state of the specified 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:
state: OK | ADDifferent | NOSTop | UNKNown | INComplete
OK: The field has no error, it is valid.
ADDifferent: 10-bit read address different. For a read access on a 10-bit address, the first address byte is sent twice, first as write, the second as read. The first 7 bits of the byte must be identical. If they are not identical, the ADDiffernt error is indicated.
NOSTop: The stop bit is missing.
UNKNown: Unknown field type detected.
INComplete: The field is not completely contained in the acquisition. The acquired part of the field is usually valid, but cannot always be trusted.