Technical data

Table Of Contents
Measure Commands 25
Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference 503
:MEASure:CGRade:QFACtor
Command :MEASure:CGRade:QFACtor
The :MEASure:CGRade:QFACtor command measures the Q factor. 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 Q factor.
myScope.WriteString ":MEASURE:CGRade:QFACTOR"
Query :MEASure:CGRade:QFACtor?
The :MEASure:CGRade:QFACtor? query returns the Q factor 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:QFACtor]<value>[,<result_state>]<NL>
<value> The Q factor.
<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 Q factor 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:QFACTOR"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)