State

SCPI Command :

SBUS<*>:SWIRe:FRAMe<*>:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default, frame=Frame.Default) SbusSwireFrameState[source]
# SBUS<*>:SWIRe:FRAMe<*>:STATe
value: enums.SbusSwireFrameState = driver.sbus.swire.frame.state.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default)

Returns the overall state of the specified 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 | PARity | LENGth | AMBiguous | INComplete

  • OK: The frame is valid.

  • PARity: Parity is not as expected, indicating an error

  • LENGth: Length of the frame is not as expected, indicating an error

  • AMBiguous: The frame is ambiguous.

  • INComplete: The frame is incomplete.