User Manual

Table Of Contents
655
Keysight InfiniiVision 1000 X-Series 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 657.
Table 84 :WGEN Commands Summary
Command Query Options and Query Returns
:WGEN:FREQuency
<frequency> (see
page 658)
:WGEN:FREQuency? (see
page 658)
<frequency> ::= frequency in Hz
in NR3 format
:WGEN:FUNCtion
<signal> (see
page 659)
:WGEN:FUNCtion? (see
page 660)
<signal> ::= {SINusoid | SQUare |
RAMP | PULSe | NOISe | DC}
:WGEN:FUNCtion:PULSe:
WIDTh <width> (see
page 662)
:WGEN:FUNCtion:PULSe:
WIDTh? (see page 662)
<width> ::= pulse width in
seconds in NR3 format
:WGEN:FUNCtion:RAMP:S
YMMetry <percent>
(see page 663)
:WGEN:FUNCtion:RAMP:S
YMMetry? (see
page 663)
<percent> ::= symmetry
percentage from 0% to 100% in NR1
format
:WGEN:FUNCtion:SQUare
:DCYCle <percent>
(see page 664)
:WGEN:FUNCtion:SQUare
:DCYCle? (see
page 664)
<percent> ::= duty cycle
percentage from 20% to 80% in NR1
format
:WGEN:MODulation:AM:D
EPTh <percent> (see
page 665)
:WGEN:MODulation:AM:D
EPTh? (see page 665)
<percent> ::= AM depth percentage
from 0% to 100% in NR1 format
:WGEN:MODulation:AM:F
REQuency <frequency>
(see page 666)
:WGEN:MODulation:AM:F
REQuency? (see
page 666)
<frequency> ::= modulating
waveform frequency in Hz in NR3
format
:WGEN:MODulation:FM:D
EViation <frequency>
(see page 667)
:WGEN:MODulation:FM:D
EViation? (see
page 667)
<frequency> ::= frequency
deviation in Hz in NR3 format