User`s manual

Generating a Simple Arbitrary Waveform
The ARBWAVE program shows how to generate an arbitrary waveform
with a single waveform segment. The example generates a 100 point ramp.
The AFG stores the waveform segment into segment memory as voltage
data points. The commands are:
1. Reset the AFG
*RST
The *RST command aborts any 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 (see “How to Free Segment and Sequence Memory” on
page 113 for more information).
3. Clear the AFG Memory of All Segment Data
[SOURce:]LIST[1][:SEGMent]:DELete:ALL
This command clears all segment data stored in the segment memory
(see “How to Free Segment and Sequence Memory” on page 113 for
more information).
4. Select the Reference Oscillator
[SOURce:]ROSCillator:SOURce <source>
This command selects the reference oscillator source (see “Reference
Oscillator Sources” on page 115).
88 Generating Arbitrary Waveforms Chapter 3