Technical data

454 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:CGRade:EWINdow
Command :MEASure:CGRade:EWINdow <start>,<stop>[,<start_after>]
The :MEASure:CGRade:EWINdow command is used to change the starting
point and the stopping point of the window used to make the eye pattern
measurements of eye height, eye crossing %, and eye q- factor. In addition,
the number of waveform hits can be set to ensure that enough data has
been collected to make accurate measurements.
<start> An integer from 1 to 100 for horizontal starting point. (Default value is
40%.)
<stop> An integer from 1 to 100 for horizontal stopping point. (Default value is
60%.)
<start_after> An integer from 1 to 63,488 for number of hits to acquire before making
measurements. (Default value is 1.)
Example This example sets the eye window starting point to 2%, the stopping point
to 75% and the start after to 5,000 hits.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:CGRADE:EWINDOW 2,75,5000"
Query :MEASure:CGRade:EWINdow?
The :MEASure:CGRade:EWINdow query returns the starting point, the
ending point, and the start after setting for the eye pattern measurements.
Returned Format
[:MEASure:CGRade:EWIDdow] <start>,<stop>,<start_after> <NL>
The following example returns the values for the eye window.
Example
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:CGRADE:EWINDOW?"
varStart,Stop,Startafter = myScope.ReadNumber
Debug.Print FormatNumber(varStart,Stop,Startafter, 0)
NOTE
Turn Off Headers
When receiving numeric data into numeric variables, turn off the headers. Otherwise, the
headers may cause misinterpretation of returned data.