Technical data
Display Commands 15
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 269
:DISPlay:CGRade:LEVels?
Query :DISPlay:CGRade:LEVels?
The :DISPlay:CGRade:LEVels? query returns the range of hits represented
by each color. Fourteen values are returned, representing the minimum
and maximum count for each of seven colors. The values are returned in
the following order:
• White minimum value
• White maximum value
• Yellow minimum value
• Yellow maximum value
• Orange minimum value
• Orange maximum value
• Red minimum value
• Red maximum value
• Pink minimum value
• Pink maximum value
• Blue minimum value
• Blue maximum value
• Green minimum value
• Green maximum value
Returned Format
[DISPlay:CGRade:LEVels] <color format><NL>
<color format> <intensity color min/max> is an integer value from 0 to
9,007,199,254,740,991
Example This example gets the range of hits represented by each color and prints it
on the computer screen:
Dim strSetting As String ' Dimension variable.
myScope.WriteString ":DISPLAY:CGRADE:LEVELS?"
strCgrade = myScope.ReadString
Debug.Print strCgrade
Colors start at green minimum, maximum, then blue, pink, red, orange,
yellow, white. The format is a string where commas separate minimum and
maximum values. The largest number in the string can be
9,007,199,254,740,991
An example of a possible returned string is as follows:
1,414,415,829,830,1658,1659,3316,3317,6633,6634,13267,13268,26535