Hsl

SCPI Command :

DISPlay:CMAP<it>:HSL
class HslCls[source]

Hsl commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class HslStruct[source]

Response structure. Fields:

  • Hue: float: tint Range: 0 to 1

  • Sat: float: saturation Range: 0 to 1

  • Lum: float: brightness Range: 0 to 1

get(item=Item.Default) HslStruct[source]
# SCPI: 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.

param item

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

return

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

set(hue: float, sat: float, lum: float, item=Item.Default) None[source]
# SCPI: 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.

param hue

tint Range: 0 to 1

param sat

saturation Range: 0 to 1

param lum

brightness Range: 0 to 1

param item

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