669
Keysight InfiniiVision DSOX1204A/G Oscilloscopes
Programmer's Guide
29 :WGEN Commands
On G-suffix oscilloscope models, a waveform generator is built into the
oscilloscope. You can use the waveform generator to output sine, square, ramp,
pulse, DC, and noise waveforms. The :WGEN commands are used to select the
waveform function and parameters. See "Introduction to :WGEN Commands" on
page 671.
Table 86 :WGEN Commands Summary
Command Query Options and Query Returns
:WGEN:FREQuency
<frequency> (see
page 672)
:WGEN:FREQuency? (see
page 672)
<frequency> ::= frequency in Hz
in NR3 format
:WGEN:FUNCtion
<signal> (see
page 673)
:WGEN:FUNCtion? (see
page 674)
<signal> ::= {SINusoid | SQUare |
RAMP | PULSe | NOISe | DC}
:WGEN:FUNCtion:PULSe:
WIDTh <width> (see
page 676)
:WGEN:FUNCtion:PULSe:
WIDTh? (see page 676)
<width> ::= pulse width in
seconds in NR3 format
:WGEN:FUNCtion:RAMP:S
YMMetry <percent>
(see page 677)
:WGEN:FUNCtion:RAMP:S
YMMetry? (see
page 677)
<percent> ::= symmetry
percentage from 0% to 100% in NR1
format
:WGEN:FUNCtion:SQUare
:DCYCle <percent>
(see page 678)
:WGEN:FUNCtion:SQUare
:DCYCle? (see
page 678)
<percent> ::= duty cycle
percentage from 20% to 80% in NR1
format
:WGEN:MODulation:AM:D
EPTh <percent> (see
page 679)
:WGEN:MODulation:AM:D
EPTh? (see page 679)
<percent> ::= AM depth percentage
from 0% to 100% in NR1 format
:WGEN:MODulation:AM:F
REQuency <frequency>
(see page 680)
:WGEN:MODulation:AM:F
REQuency? (see
page 680)
<frequency> ::= modulating
waveform frequency in Hz in NR3
format
:WGEN:MODulation:FM:D
EViation <frequency>
(see page 681)
:WGEN:MODulation:FM:D
EViation? (see
page 681)
<frequency> ::= frequency
deviation in Hz in NR3 format