State

SCPI Command :

BUS<*>:USBPd:RESult:FRAMe<*>:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default, busFrameNull=BusFrameNull.Default) BusUsbpdResultState[source]
# BUS<*>:USBPd:RESult:FRAMe<*>:STATe
value: enums.BusUsbpdResultState = driver.bus.usbPd.result.frame.state.get(bus = repcap.Bus.Default, busFrameNull = repcap.BusFrameNull.Default)

Returns the status of the frame with the selected frame number (for the selected serial bus) .

Parameters:
  • bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)

  • busFrameNull – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Frame’)

Returns:

state: OK | UNKNown | INComplete | PREamble | SOP | CRC | LENGth | FBFB

  • SOP: Start of packet warning

  • CRC: Cyclic redundancy check error

  • FBFB: 4b5b error