Technical data

268 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
15 Display Commands
:DISPlay:CGRade
Command :DISPlay:CGRade {{ON | 1} | {OFF | 0}}
The :DISPlay:CGRade command sets the color grade persistence on or off.
When in the color grade persistence mode, all waveforms are mapped into
a database and shown with different colors representing varying number
of hits in a pixel. "Connected dots" display mode (:DISPlay:CONNect) is
disabled when the color grade persistence is on.
The oscilloscope has three features that use a specific database. This
database uses a different memory area than the waveform record for each
channel. The three features that use the database are histograms, mask
testing, and color grade persistence. When any one of these three features
is turned on, the oscilloscope starts building the database. The database is
the size of the graticule area and varies in size. Behind each pixel is a
53- bit counter. Each counter is incremented each time a pixel is hit by
data from a channel or function. The maximum count (saturation) for each
counter is 9,007,199,254,740,991. You can check for counter saturation by
using the DISPlay:CGRade:LEVels? query. The color grade persistence uses
colors to represent the number of hits on various areas of the display. The
default color- grade state is off.
Example This example sets the color grade persistence on.
myScope.WriteString ":DISPLAY:CGRADE ON"
Query :DISPlay:CGRade?
The DISPlay:CGRade query returns the current color- grade state.
Returned Format
[:DISPlay:CGRade] {1 | 0}<NL>
Example This example returns the current color grade state.
myScope.WriteString ":DISPLAY:CGRADE?"
strCgrade = myScope.ReadString
Debug.Print strCgrade