User`s manual

Generating Square Waves
The SQUWAVE program outputs a square wave at 1 Mhz, 4 V output level,
and +1 V offset. The commands are:
1. Reset the AFG
*RST
This command aborts any waveform output and selects the 42.9 MHz
reference oscillator source, DDS sample source (that is, trigger start
source), sinusoid function, arm start immediate, 0 V offset, and a 50
output impedance and output load.
2. Select the Reference Oscillator
[SOURce:]ROSCillator:SOURce INTernal[1]
This command selects the reference oscillator source (see “Reference
Oscillator Sources” on page 78). (Although
*RST selects 42.9 MHz
reference oscillator, it is selected here for good programming practice.)
3. Select the Sample Source
TRIGger:STARt:SOURce INTernal[1]
This command selects the sample source (that is, trigger start source).
(Although
*RST selects trigger start source that selects the DDS
frequency generator, it is selected here for good programming
practice.) The SQUare function can use any of the trigger start
sources (see “Sample Sources” on page 78).
4. Set the Frequency Range
[SOURce:]FREQuency[1]:RANGe <range>
This command specifies the square wave upper frequency limit (see
“DDS Frequency Generator Ranges” on page 79). (Since
*RST
automatically sets the range to the lower range, it is executed in this
program for good programming practice.)
Chapter 2 Generating Standard Waveforms 61