:WGEN<w> Commands 35
Keysight InfiniiVision 3000T X-Series Oscilloscopes Programmer's Guide 1143
:WGEN<w>:FUNCtion:SQUare:DCYCle
(see page 1276)
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 1128
• ":WGEN<w>:FUNCtion" on page 1137