Technical data

452 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:CGRade:EHEight
Command :MEASure:CGRade:EHEight <algorithm>
The :MEASure:CGRade:EHEight command enables the eye height
measurement on the current eye pattern. Before using this command or
query, you must use the :DISPlay:CGRade command to enable the color
grade persistence feature. Also, there must be a full eye diagram on screen
before a valid measurement can be made.
<algorithm> {MEASured | EXTRapolated} EXTRapolated is optional because it is the
default if you do not specify an algorithm.
MEASured will measure the eye height within the window (see
CGRade:EWINdow) of the current data. The smallest eye height is
reported. Extrapolated will estimate the eye height based upon the mean
and standard deviation of the eye top and base.
Example This example enables the eye height measurement.
myScope.WriteString ":MEASURE:CGRADE:EHEIGHT"
Query :MEASure:CGRade:EHEight?
The :MEASure:CGRade:EHEight? query returns the eye height measurement
of the color grade display. Before using this command or query, you must
use the :DISPlay:CGRade command to enable the color grade persistence
feature.
Returned Format
[:MEASure:CGRade:EHEight]<value>[,<result_state>]<NL>
<value> The eye height.
<result_state> If SENDVALID is ON, the result state is returned with the measurement
result. Refer to the MEASure:RESults command, for a list of the result
states.
Example This example places the current eye height in the numeric variable,
varValue, then prints the contents of the variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:CGRADE:EHEIGHT?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)