Technical data

Measure Commands 24
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 451
:MEASure:CGRade:DCDistortion
Command :MEASure:CGRade:DCDistortion <format>
The :MEASure:CGRade:DCDistortion command enables the duty cycle
distortion measurement on the current eye pattern. The parameter
specifies the format for reporting the measurement. 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.
<format> {TIME | PERCent}
Example This example measures the duty cycle distortion.
myScope.WriteString ":MEASURE:CGRADE:DCDISTORTION TIME"
Query :MEASure:CGRade:DCDistortion? <format>
The :MEASure:CGRade:DCDistortion query returns the duty cycle
distortion 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:DCDistortion]<value>[,<result_state>]<NL>
<value> The duty cycle distortion.
<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 duty cycle distortion in the numeric
variable, varValue, then prints the contents of the variable to the
computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF"
myScope.WriteString ":MEASURE:CGRADE:DCDISTORTION? PERCENT"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)