Status
SCPI Command :
SBUS<*>:USBone:FRAMe<*>:STATus
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default) SbusUsbFrameState[source]
# SBUS<*>:USBone:FRAMe<*>:STATus value: enums.SbusUsbFrameState = driver.sbus.usbOne.frame.status.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default)
Returns the overall state of the 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’)
- Returns:
frame_state: OK | PID | CRC | LENGth | BTST | INComplete
OK: The frame 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 frame.
BTST: Bit stuffing error occurred.
INComplete: The frame is not completely contained in the acquisition. The acquired part of the frame is usually valid, but cannot always be trusted.