SCPI.DISPlay.COLor(Dnum).TRACe(Tr).DATA

Object type

Property (Read-Write)

Syntax

SCPI.DISPlay.COLor(Dnum).TRACe(Tr).DATA = Data

Data = SCPI.DISPlay.COLor(Dnum).TRACe(Tr).DATA

Description

This command sets/gets the color of the data trace of traces 1 to 16 (Tr), for normal display (Dnum: 1) and inverted display (Dnum: 2).

Variable

Parameter

Data

Description

Indicates 3-element array data.

  • Data(0) :Sets amount of red.

  • Data(1) :Sets amount of green.

  • Data(2) :Sets amount of blue.

The index of the array starts from 0.

Data type

Variant type (Variant)

Range

  • Data(0) : 0 to 5

  • Data(1) : 0 to 5

  • Data(2) : 0 to 5

Resolution

1

Note

If the specified variable is out of the allowable setup range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.

Examples

Dim TrColor As Variant
SCPI.DISPlay.COLor(1).TRACe(1).DATA = Array(1,2,3)
TrColor = SCPI.DISPlay.COLor(1).TRACe(1).DATA

Related objects

SCPI.DISPlay.COLor(Dnum).RESet

Equivalent key

System > Misc Setup > Color Setup > Normal|Invert > Data Trace 1|Data Trace 2|
Data Trace 3
|Data Trace 4|Data Trace 5|Data Trace 6|Data Trace 7|Data Trace 8|Data Trace 9

Equivalent SCPI command

Syntax

:DISPlay:COLor{[1]|2}:TRAC{[1]-16}:DATA <numeric 1>,<numeric 2>,<numeric 3>

:DISPlay:COLor{[1]|2}:TRAC{[1]-16}:DATA?

Query response

{numeric 1},{numeric 2},{numeric 3}<newline><^END>

Example of use

10 OUTPUT 717;":DISP:COL1:TRAC1:DATA 1,2,3"
20 OUTPUT 717;":DISP:COL1:TRAC1:DATA?"
30 ENTER 717;A,B,C