Color

SCPI Command :

DISPlay:COLor:SIGNal:COLor
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get() int[source]
# DISPlay:COLor:SIGNal:COLor
value: int = driver.display.color.signal.color.get()

Sets the color of the selected waveform.

Returns:

value: Decimal value of the ARGB color. Use the color dialog box on the instrument to get the hex value of the color, and convert the hex value to a decimal value. 0 is fully transparent black. 4278190080 (dec) = FF000000 (hex) is opaque black. 4294967295 (dec) = FFFFFFFF (hex) is opaque white. To reset the color to its default, use DISPlay:COLor:SIGNal:COLor Signal,DEF.

set(signal: SignalSource, value: int) None[source]
# DISPlay:COLor:SIGNal:COLor
driver.display.color.signal.color.set(signal = enums.SignalSource.C1, value = 1)

Sets the color of the selected waveform.

Parameters:
  • signal – Signal name as returned by method RsMxo.display.color.signal.catalog() .

  • value – Decimal value of the ARGB color. Use the color dialog box on the instrument to get the hex value of the color, and convert the hex value to a decimal value. 0 is fully transparent black. 4278190080 (dec) = FF000000 (hex) is opaque black. 4294967295 (dec) = FFFFFFFF (hex) is opaque white. To reset the color to its default, use DISPlay:COLor:SIGNal:COLor Signal,DEF.