Technical data
:WGEN Commands 31
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide 671
:WGEN:FUNCtion:SQUare:DCYCle
(see page 790)
Command Syntax
:WGEN:FUNCtion:SQUare:DCYCle <percent>
<percent> ::= duty cycle percentage from 20% to 80% in NR1 format
For Square waveforms, the :WGEN: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:FUNCtion:SQUare:DCYCle?
The :WGEN: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 NR1 format
See Also • "Introduction to :WGEN Commands" on page 665
• ":WGEN:FUNCtion" on page 667