Commands by Subsystem 3
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference 227

:MEASure:DUTYcycle

(see page 530)
Command Syntax :MEASure:DUTYcycle [<source>]
<source> ::= {CHANnel<n> | FUNCtion | MATH}
<n>::={1|2|3|4}forthefour channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
The :MEASure:DUTYcycle command installs a screen measurement and
starts a duty cycle measurement on the current :MEASure:SOURce. If the
optional source parameter is specified, the current source is modified.
Query Syntax :MEASure:DUTYcycle? [<source>]
The :MEASure:DUTYcycle? query measures and outputs the duty cycle of
the signal specified by the :MEASure:SOURce command. The value
returned for the duty cycle is the ratio of the positive pulse width to the
period. The positive pulse width and the period of the specified signal are
measured, then the duty cycle is calculated with the following formula:
duty cycle = (+pulse width/period)*100
Return Format <value><NL>
<value> ::= ratio of positive pulse width to period in NR3 format
See Also "Introduction to :MEASure Commands" on page 218
":MEASure:PERiod" on page 233
":MEASure:PWIDth" on page 236
":MEASure:SOURce" on page 240
Example Code "Example Code" on page 240
NOTE The signal must be displayed to make the measurement. This command is not available if
the source is FFT (Fast Fourier Transform).