FormatPy

SCPI Command :

SBUS<*>:UART:FORMat:FRAMe<*>:FLD<*>:FORMat
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusDataFormat[source]
# SBUS<*>:UART:FORMat:FRAMe<*>:FLD<*>:FORMat
value: enums.SbusDataFormat = driver.sbus.uart.formatPy.frame.fld.formatPy.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)

Specifies, in which order the algorithm evaluates the bits of the condition value of the selected field in the selected 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’)

set(numeric_format: SbusDataFormat, serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) None[source]
# SBUS<*>:UART:FORMat:FRAMe<*>:FLD<*>:FORMat
driver.sbus.uart.formatPy.frame.fld.formatPy.set(numeric_format = enums.SbusDataFormat.ASCII, serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)

Specifies, in which order the algorithm evaluates the bits of the condition value of the selected field in the selected frame.

Parameters:
  • numeric_format

    LSBF | MSBF

    • LSBF: Least significant bit first

    • MSBF: Most significant bit first

  • 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’)