:MEASure:DUTYcycle
Command Syntax
:MEASure:DUTYcycle [<source>]
<source> ::= {<digital channels> | CHANnel<n> | FUNCtion | MATH}
<digital channels> ::= DIGital0,..,DIGital15 for the MSO models
<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 7000A Series Oscilloscopes Programmer's Guide
(see
page
786)
duty cycle = (+pulse width/period)*100
"Introduction to :MEASure Commands"
":MEASure:PERiod"
on page 327
":MEASure:PWIDth"
on page 330
":MEASure:SOURce"
"Example Code"
on page 338
on page 312
on page 337
Commands by Subsystem
5
321