Technical data
280 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
15 Display Commands
<hue> An integer from 0 to 100. The hue control sets the color of the chosen
display element. As hue is increased from 0%, the color changes from red,
to yellow, to green, to blue, to purple, then back to red again at 100% hue.
For color examples, see the sample color settings table in the Infiniium
Oscilloscope online help file. Pure red is 100%, pure blue is 67%, and pure
green is 33%.
<saturation> An integer from 0 to 100. The saturation control sets the color purity of
the chosen display element. The saturation of a color is the purity of a
color, or the absence of white. A 100% saturated color has no white
component. A 0% saturated color is pure white.
<luminosity> An integer from 0 to 100. The luminosity control sets the color brightness
of the chosen display element. A 100% luminosity is the maximum color
brightness. A 0% luminosity is pure black.
Example This example sets the hue to 50, the saturation to 70, and the luminosity
to 90 for the markers.
myScope.WriteString ":DISPLAY:SCOLOR MARKERS,50,70,90"
Query :DISPlay:SCOLor? <color_name>
The :DISPlay:SCOLor? query returns the hue, saturation, and luminosity
for the specified color.
Returned Format
[:DISPlay:SCOLor] <color_name>, <hue>, <saturation>, <luminosity><NL>
Example This example places the current settings for the graticule color in the
string variable, strSetting, then prints the contents of the variable to the
computer's screen.
Dim strSetting As String ' Dimension variable.
myScope.WriteString ":DISPLAY:SCOLOR? GRATICULE"
strSetting = myScope.ReadString
Debug.Print strSetting
WOVerlap Display element for waveforms when they overlap each other.
TSCale Display element for horizontal scale and offset control text.
WMEMories Display element for waveform memories.
WINText Display element used in dialog box controls and pull-down menus.
WINBackgrnd Display element for the background color used in dialog boxes and
buttons.
Table 21 Color Names (continued)
Color Name Definition