Property (Read-Write)
SCPI.DISPlay.COLor(Dnum).GRATicule(Gnum) = Data
Data = SCPI.DISPlay.COLor(Dnum).GRATicule(Gnum)
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).
Parameter |
Gnum |
Description |
The number of items: |
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.
The index of the array starts from 0. |
Data type |
Variant type (Variant) |
Range |
|
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. |
Dim GritColor As Variant
SCPI.DISPlay.COLor(1).GRATicule(1) = Array(1,2,3)
GritColor = SCPI.DISPlay.COLor(1).GRATicule(1)
SCPI.DISPlay.COLor(Dnum).RESet
System > Misc Setup > Display Setup > Color Setup > Normal|Invert > Graticule Main|Graticule Sub
:DISPlay:COLor{[1]|2}:GRATicule{[1]|2} <numeric 1>,<numeric 2>,<numeric 3>
:DISPlay:COLor{[1]|2}:GRATicule{[1]|2}?
{numeric 1},{numeric 2},{numeric 3}<newline><^END>
10 OUTPUT 717;":DISP:COL1:GRAT1 1,2,3"
20 OUTPUT 717;":DISP:COL1:GRAT1?"
30 ENTER 717;A,B,C