![Keysight P9241 Scpi Programmer'S Manual Download Page 446](http://html1.mh-extra.com/html/keysight/p9241/p9241_scpi-programmers-manual_1961682446.webp)
446
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide
21
:MEASure Commands
:MEASure:DUTYcycle
Command Syntax
:MEASure:DUTYcycle [<source>]
<source> ::= {CHANnel<n> | FUNCtion<m> | MATH<m> | WMEMory<r>}
<n> ::= 1 to (# of analog channels) in NR1 format
<m> ::= 1 to (# math functions) in NR1 format
<r> ::= 1 to (# ref waveforms) in NR1 format
The :MEASure:DUTYcycle command installs a screen measurement and starts a
positive 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 positive 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"
•
•
•
•
Example Code
•
NOTE
The signal must be displayed to make the measurement. This command is not available if the
source is FFT (Fast Fourier Transform).
Summary of Contents for P9241
Page 1: ...Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Page 6: ...6 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Page 36: ...36 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 1 What s New...
Page 41: ...Setting Up 2 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 41...
Page 44: ...44 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 2 Setting Up...
Page 222: ...222 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 7 Root Commands...
Page 244: ...244 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 8 ACQuire Commands...
Page 256: ...256 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 9 CALibrate Commands...
Page 278: ...278 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 10 CHANnel n Commands...
Page 328: ...328 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 15 EXTernal Trigger Commands...
Page 386: ...386 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 17 FUNCtion m Commands...
Page 390: ...390 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 18 HCOPY Commands...
Page 416: ...416 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 20 MARKer Commands...
Page 498: ...498 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 21 MEASure Commands...
Page 532: ...532 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 22 MTESt Commands...
Page 572: ...572 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 24 SAVE Commands...
Page 900: ...900 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 28 TIMebase Commands...
Page 1080: ...1080 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 31 WGEN w Commands...
Page 1142: ...1142 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 34 Error Messages...
Page 1344: ...1344 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide Index...