Technical data
482 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:DUTYcycle
Command :MEASure:DUTYcycle [<source>[,<direction>]]
The :MEASure:DUTYcycle command measures the ratio (%) of the positive 
pulse width to the period.
Sources are specified with the :MEASure:SOURce command or with the 
optional <source> parameter following the :MEASure:DUTYcycle command.
<source> {CHANnel<N> | FUNCtion<N> | WMEMory<N> | CLOCk | MTRend | 
MSPectrum | EQUalized}
MTRend and MSPectrum sources are only available if the oscilloscope has 
the EZJIT option installed and the feature is enabled.
The CLOCk source is only available if the oscilloscope has the High Speed 
Serial option installed and the feature is enabled.
The EQUalized source is only available if the oscilloscope has the High 
Speed Serial option and the Serial Data Equalization option installed and 
the features are enabled. This command uses the Feed- Forward Equalized 
(FFE) signal as the source.
<N> CHANnel<N> is an integer, 1 - 4.
FUNCtion<N> and WMEMory<N> are:
An integer, 1 - 4, representing the selected function or waveform memory.
<direction> {RISing | FALLing}
Specifies direction of edge to start measurement. When <direction> is 
specified, the <source> parameter is required.
Using the <direction> parameter will set the "Measure All Edges" mode if it 
is not currently set.
Example This example measures the duty cycle of the channel 1 waveform.
myScope.WriteString ":MEASURE:DUTYCYCLE CHANNEL1"
Query :MEASure:DUTYcycle? [<source>],<direction>
The :MEASure:DUTYcycle? query returns the measured duty cycle (%) of 
the specified source.
Returned Format
[:MEASure:DUTYcycle] <value>[,<result_state>]<NL>
<value> The ratio (%) of the positive pulse width to the period.
<result_state> If SENDvalid is ON, the result state is returned with the measurement 
result. See the :MEASure:RESults table in this chapter for a list of the 
result states.










