State

SCPI Command :

SBUS<*>:CAN:FRAMe<*>:FLD<*>:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusCanFrameState[source]
# SBUS<*>:CAN:FRAMe<*>:FLD<*>:STATe
value: enums.SbusCanFrameState = driver.sbus.can.frame.fld.state.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)

Returns the 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 | EOFD | ACKD | NOACk | CRCD | CRC | SERRror | FORM | BTST | UNKNown | INComplete

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

  • EOFD: Wrong end of field

  • ACKD: Acknowledgment delimiter error

  • NOACk: Field acknowledgment is missing

  • CRCD: Checksum delimiter error

  • CRC: Checksum error, cyclic redundancy check failed

  • SERRror: Stuff count error (CAN-FD ISO only)

  • FORM: Fixed-bit form error

  • BTST: Bit stuffing error

  • UNKNown: State unknown

  • INComplete: Field not completely contained in the acquisition.