User`s manual

Chapter 3
Generating Arbitrary Waveforms
Chapter Contents
This chapter shows how to generate arbitrary waveforms using the
Agilent E1445A 13-Bit Arbitrary Function Generator (called the “AFG”).
The following sections show how to generate arbitrary waveforms. Also
included are example programs that generate various arbitrary waveforms.
The sections are as follows:
Arbitrary Waveforms Flowchart . . . . . . . . . . . . . . . . . . . . . . Page 84
How the AFG Generates Arbitrary Waveforms . . . . . . . . . . Page 86
Generating a Simple Arbitrary Waveform . . . . . . . . . . . . . . Page 88
Executing Several Waveform Segments . . . . . . . . . . . . . . . . Page 93
Using Different Frequency Generators . . . . . . . . . . . . . . . . . Page 99
Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 104
- Generating a Sin(X)/X Waveform . . . . . . . . . . . . . . . . . . . Page 105
- Generating a Damped Sine Wave . . . . . . . . . . . . . . . . . . . . Page 107
- Generating an Exponential Change/Discharge
Waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 108
- Generating a Sine Wave with Spikes . . . . . . . . . . . . . . . . . Page 109
- Generating a
1
2
Rectified Sine Wave . . . . . . . . . . . . . . . . . Page 111
- Generating Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 112
Arbitrary Waveform Program Comments . . . . . . . . . . . . . . . Page 113
- Determining the Amount of Segment and Sequence
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 113
- How to Free Segment and Sequence Memory . . . . . . . . . . Page 113
- Amplitude Effects on Voltage Lists . . . . . . . . . . . . . . . . . . Page 113
- Using DAC Codes to Send Segment Data . . . . . . . . . . . . . Page 114
- Sending Segment Sequences. . . . . . . . . . . . . . . . . . . . . . . . Page 114
- Reference Oscillator Sources . . . . . . . . . . . . . . . . . . . . . . . Page 115
- Sample Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 115
- Frequency1 Generator Range . . . . . . . . . . . . . . . . . . . . . . . Page 116
- Returning the Waveform Segment Names . . . . . . . . . . . . . Page 116
- Determining the Waveform Segment Size . . . . . . . . . . . . . Page 116
- Returning the Segment Sequence List Names . . . . . . . . . . Page 116
- Returning the Repetition Count List Length. . . . . . . . . . . . Page 116
Chapter 3 Generating Arbitrary Waveforms 83