Value
SCPI Command :
DISPlay:COLor:PALette:POINt[:VALue]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class GetStruct[source]
Response structure. Fields:
1 Position: float: Cumulative occurance value
2 Color: int: ARGB value of the color to be used for the table entry. ARGB=Opacity(alpha) valuered valuegreen valueblue value, in hexadecimal or decimal format.
- get(color_table: str, clr_tbl_clr_pt: int) GetStruct[source]
# DISPlay:COLor:PALette:POINt[:VALue] value: GetStruct = driver.display.color.palette.point.value.get(color_table = 'abc', clr_tbl_clr_pt = 1)
Inserts a new entry or queries the specified entry in the specified color table.
- Parameters:
color_table – Color table to be edited
clr_tbl_clr_pt – Index (row number) of the new entry in the color table
- Returns:
structure: for return value, see the help for GetStruct structure arguments.
- set(color_table: str, clr_tbl_clr_pt: int, position: float, color: int) None[source]
# DISPlay:COLor:PALette:POINt[:VALue] driver.display.color.palette.point.value.set(color_table = 'abc', clr_tbl_clr_pt = 1, position = 1.0, color = 1)
Inserts a new entry or queries the specified entry in the specified color table.
- Parameters:
color_table – Color table to be edited
clr_tbl_clr_pt – Index (row number) of the new entry in the color table
position – Cumulative occurance value
color – ARGB value of the color to be used for the table entry. ARGB=Opacity(alpha) valuered valuegreen valueblue value, in hexadecimal or decimal format.