:MEASure:DUTYcycle
Command Syntax
:MEASure:DUTYcycle [<source>]
<source> ::= {CHANnel<n> | FUNCtion | MATH}
<n> ::= {1 | 2 | 3 | 4} for the four 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.
The signal must be displayed to make the measurement. This command is not available if
N O T E
the source is FFT (Fast Fourier Transform).
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:
Return Format
<value><NL>
<value> ::= ratio of positive pulse width to period in NR3 format
See Also
•
•
•
•
Example Code
•
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Guide
(see
page
658)
duty cycle = (+pulse width/period)*100
"Introduction to :MEASure Commands"
":MEASure:PERiod"
on page 287
":MEASure:PWIDth"
on page 290
":MEASure:SOURce"
"Example Code"
on page 297
on page 272
on page 297
Commands by Subsystem
5
281