SCPI.DISPlay.COLor(Dnum).GRATicule(Gnum)

Object type

Property (Read-Write)

Syntax

SCPI.DISPlay.COLor(Dnum).GRATicule(Gnum) = Data

Data = SCPI.DISPlay.COLor(Dnum).GRATicule(Gnum)

Description

This command sets/gets:

1. Color of the graticule label.

2. Outer frame line of the graph ( Gnum:1).

3. Color of the grid line of the graph ( Gnum:2).

for the normal display ( Dnum:1) and inverted display ( Dnum:2).

Variable

Parameter

Gnum

Description

The number of items:
1: The outer frame line of the graph
2: The color of the grid line of the graph

Data type

Long integer type (Long)

Range

1 to 2

Preset value

1

Note

If the specified variable is out of the allowable setup range, an error occurs when executed.

 

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 GritColor As Variant
SCPI.DISPlay.COLor(1).GRATicule(1) = Array(1,2,3)
GritColor = SCPI.DISPlay.COLor(1).GRATicule(1)

Related objects

SCPI.DISPlay.COLor(Dnum).RESet

Equivalent key

System > Misc Setup > Display Setup > Color Setup > Normal|Invert > Graticule Main|Graticule Sub

Equivalent SCPI command

Syntax

:DISPlay:COLor{[1]|2}:GRATicule{[1]|2} <numeric 1>,<numeric 2>,<numeric 3>

:DISPlay:COLor{[1]|2}:GRATicule{[1]|2}?

Query response

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

Example of use

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