1288 Keysight InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
35 :WGEN<w> Commands
:WGEN<w>:FUNCtion:SQUare:DCYCle
(see page 1428)
Command Syntax
:WGEN<w>:FUNCtion:SQUare:DCYCle <percent>
<w> ::= 1 or 2 in NR1 format
<percent> ::= duty cycle percentage from 20% to 80% in NR3 format
For Square waveforms, the :WGEN<w>:FUNCtion:SQUare:DCYCle command
specifies the square wave duty cycle.
Duty cycle is the percentage of the period that the waveform is high.
Query Syntax
:WGEN<w>:FUNCtion:SQUare:DCYCle?
The :WGEN<w>:FUNCtion:SQUare:DCYCle? query returns the currently set square
wave duty cycle.
Return Format
<percent><NL>
<percent> ::= duty cycle percentage from 20% to 80% in NR3 format
See Also • "Introduction to :WGEN<w> Commands" on page 1272
• ":WGEN<w>:FUNCtion" on page 1282