Technical data

s1
663
Agilent InfiniiVision 2000 X-Series Oscilloscopes
Programmer's Guide
31
:WGEN Commands
When the built- in waveform generator is licensed (Option WGN), you can
use it 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 665.
Table 96 :WGEN Commands Summary
Command Query Options and Query Returns
:WGEN:FREQuency
<frequency> (see
page 666)
:WGEN:FREQuency? (see
page 666)
<frequency> ::= frequency in Hz
in NR3 format
:WGEN:FUNCtion
<signal> (see
page 667)
:WGEN:FUNCtion? (see
page 668)
<signal> ::= {SINusoid | SQUare |
RAMP | PULSe | NOISe | DC}
:WGEN:FUNCtion:PULSe:
WIDTh <width> (see
page 669)
:WGEN:FUNCtion:PULSe:
WIDTh? (see page 669)
<width> ::= pulse width in
seconds in NR3 format
:WGEN:FUNCtion:RAMP:S
YMMetry <percent>
(see page 670)
:WGEN:FUNCtion:RAMP:S
YMMetry? (see
page 670)
<percent> ::= symmetry
percentage from 0% to 100% in NR1
format
:WGEN:FUNCtion:SQUare
:DCYCle <percent>
(see page 671)
:WGEN:FUNCtion:SQUare
:DCYCle? (see
page 671)
<percent> ::= duty cycle
percentage from 20% to 80% in NR1
format
:WGEN:MODulation:AM:D
EPTh <percent> (see
page 672)
:WGEN:MODulation:AM:D
EPTh? (see page 672)
<percent> ::= AM depth percentage
from 0% to 100% in NR1 format
:WGEN:MODulation:AM:F
REQuency <frequency>
(see page 673)
:WGEN:MODulation:AM:F
REQuency? (see
page 673)
<frequency> ::= modulating
waveform frequency in Hz in NR3
format
:WGEN:MODulation:FM:D
EViation <frequency>
(see page 674)
:WGEN:MODulation:FM:D
EViation? (see
page 674)
<frequency> ::= frequency
deviation in Hz in NR3 format
:WGEN:MODulation:FM:F
REQuency <frequency>
(see page 675)
:WGEN:MODulation:FM:F
REQuency? (see
page 675)
<frequency> ::= modulating
waveform frequency in Hz in NR3
format