Technical data

450 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:CGRade:CROSsing
Command :MEASure:CGRade:CROSsing
The :MEASure:CGRade:CROSsing command enables the crossing level
percent 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.
Example This example measures the crossing level.
myScope.WriteString ":MEASURE:CGRADE:CROSSING"
Query :MEASure:CGRade:CROSsing?
The :MEASure:CGRade:CROSsing? query returns the crossing level percent
measurement of the current eye diagram on 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:CROSsing]<value>[,<result_state>]<NL>
<value> The crossing level.
<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 crossing level 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:CROSSING?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)