Hsl

SCPI Command :

DISPlay:CMAP<it>:HSL
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class HslStruct[source]

Response structure. Fields:

  • 1 Hue: float: tint Range: 0 to 1

  • 2 Sat: float: saturation Range: 0 to 1

  • 3 Lum: float: brightness Range: 0 to 1

get(item=Item.Default) HslStruct[source]
# DISPlay:CMAP<it>:HSL
value: HslStruct = driver.display.cmap.hsl.get(item = repcap.Item.Default)

This command selects the color for various screen elements in the display.

Parameters:

item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Cmap’)

Returns:

structure: for return value, see the help for HslStruct structure arguments.

set(hue: float, sat: float, lum: float, item=Item.Default) None[source]
# DISPlay:CMAP<it>:HSL
driver.display.cmap.hsl.set(hue = 1.0, sat = 1.0, lum = 1.0, item = repcap.Item.Default)

This command selects the color for various screen elements in the display.

Parameters:
  • hue – tint Range: 0 to 1

  • sat – saturation Range: 0 to 1

  • lum – brightness Range: 0 to 1

  • item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Cmap’)