User`s manual

Using Different Frequency Generators
The AFG can use either the DDS (Frequency1) Frequency Generator or the
Divide-by-N (Frequency2) Frequency Generator to generate arbitrary
waveforms. The DDS generator gives lower frequency response with better
resolution. The Divide-by-N generator gives higher frequency response with
less resolution. For best operating practice, use the 42.9 MHz reference
oscillator source (INTernal[1]) for the DDS generator; use the 40 MHz
reference oscillator source (INTernal2) for the Divide-by-N generator.
(See “Arbitrary Waveform Program Comments” on page 113 for more
information.)
The AFGGEN1 program shows how to use the AFG’s DDS generator
(selected at power-on) to generate waveforms. Use this generator for better
frequency resolution and to perform frequency sweeping, frequency shifting,
and so forth (see Chapter 4). See program AFGGEN2 for a frequency2
generator example. This program generates a 100 point ramp at 100 kHz.
The commands are:
1. Reset the AFG
*RST
The *RST command aborts waveform output and sets the AFG to a
defined state.
2. Clear the AFG Memory of All Sequence Data
[SOURce:]LIST[1]:SSEQuence:DELete:ALL
This command clears all segment sequence data stored in the
sequence memory.
3. Clear the AFG Memory of All Segment Data
[SOURce:]LIST[1]:DELete:ALL
This command clears all segment data stored in the segment memory.
Chapter 3 Generating Arbitrary Waveforms 99