State
SCPI Command :
SBUS<*>:USBHspeed:FRAMe<*>:FLD<*>:STATe
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusUsbFrameState[source]
# SBUS<*>:USBHspeed:FRAMe<*>:FLD<*>:STATe value: enums.SbusUsbFrameState = driver.sbus.usbHspeed.frame.fld.state.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Returns the overall state of the specified field for 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 | PID | CRC | LENGth | BTST | INComplete
OK: The field has no error, it is valid.
PID: A packet identifier error signifies that the integrity check has failed, see ‘Packet structure’ PID in ‘USB protocol basics’. The 8-bit PID is invalid, if its 4 least significant bits (LSB) are not the complement of its 4 most significant bits (MSB) .
CRC: Cyclic redundancy check failed.
LENGth: Wrong length of the field.
BTST: Bit stuffing error occurred.
INComplete: The field is not completely contained in the acquisition. The acquired part of the field is usually valid, but cannot always be trusted.