User`s manual

Executing Several Waveform Segments
The MULSEG program shows how to generate an arbitrary waveform using
two different waveform segments. One waveform segment generates a 1 kHz,
5 V sine wave repeated twice. The other one generates a 1 kHz, 5 Vpeak
triangle repeated once. 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.
4. Set the Sample Rate
[SOURce:]FREQuency[1][:CW | :FIXed] <frequency>
This command sets the rate at which the points are output by the
AFG. The frequency is:
(sample frequency) / (number of points)
Refer to Table B-3 in Appendix B for the frequency limits.
Chapter 3 Generating Arbitrary Waveforms 93