Color

SCPI Command :

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

Specifies the color for the selected field of 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:

color: Use 32-bit RGB encoding in decimal format.

set(color: int, serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) None[source]
# SBUS<*>:NRZC:FORMat:FRAMe<*>:FLD<*>:COLor
driver.sbus.nrzc.formatPy.frame.fld.color.set(color = 1, serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)

Specifies the color for the selected field of the selected frame.

Parameters:
  • color – Use 32-bit RGB encoding in decimal 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’)