1226
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
33
:WGEN<w> Commands
:WGEN<w>:FUNCtion:SQUare:DCYCle
Command Syntax
:WGEN<w>:FUNCtion:SQUare:DCYCle <percent>
<w> ::= 1 to (# WaveGen outputs) in NR1 format
<percent> ::= duty cycle percentage from 20% to 80% in NR1 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 NR1 format
See Also
•
"Introduction to :WGEN<w> Commands"
•