State

SCPI Command :

SBUS<*>:NRZC:FRAMe<*>:FLD<*>:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusNrzcFrameState[source]
# SBUS<*>:NRZC:FRAMe<*>:FLD<*>:STATe
value: enums.SbusNrzcFrameState = driver.sbus.nrzc.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 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’)

  • field – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Fld’)

Returns:

state: OK | LENGth | CRC | PARity | INComplete

  • OK: The field has no error, it is valid.

  • LENGth: The length of the field is not as expected, indicating an error.

  • CRC: The CRC of the frame is not as expected, indicating an error.

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

  • INComplete: The frame is incomplete.