FormatPy
SCPI Command :
SBUS<*>:NRZU:FORMat:FRAMe<*>:FLD<*>:FORMat
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) SbusDataFormat[source]
# SBUS<*>:NRZU:FORMat:FRAMe<*>:FLD<*>:FORMat value: enums.SbusDataFormat = driver.sbus.nrzu.formatPy.frame.fld.formatPy.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Specifies the numerical format for 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’)
- Returns:
numeric_format: HEX | OCT | BIN | ASCII | ASCii | SIGN | USIG | DEC | LIST | FLIN
DEC: Decimal format
HEX: Hexadecimal format
OCT: Octal format
BIN: Binary format
- set(numeric_format: SbusDataFormat, serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) None[source]
# SBUS<*>:NRZU:FORMat:FRAMe<*>:FLD<*>:FORMat driver.sbus.nrzu.formatPy.frame.fld.formatPy.set(numeric_format = enums.SbusDataFormat.ASCII, serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)
Specifies the numerical format for the condition value of the selected field in the selected frame.
- Parameters:
numeric_format –
HEX | OCT | BIN | ASCII | ASCii | SIGN | USIG | DEC | LIST | FLIN
DEC: Decimal format
HEX: Hexadecimal format
OCT: Octal format
BIN: Binary format
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’)