User`s manual

Chapter 2. Generating Standard Waveforms (continued)
Selecting the Output Loads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
BASIC Program Example (OUTPLOAD) . . . . . . . . . . . . . . . . . . . . . . . 70
Selecting the Amplitude Levels and Output Units . . . . . . . . . . . . . . . . . . . . 72
BASIC Program Example (OUTPUNIT) . . . . . . . . . . . . . . . . . . . . . . . 73
Using Phase Modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
BASIC Program Example (PHS_MOD) . . . . . . . . . . . . . . . . . . . . . . . . 76
Standard Waveform Program Comments . . . . . . . . . . . . . . . . . . . . . . . . . 78
Sinusoid Function Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Reference Oscillator Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Sample Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
DDS Frequency Generator Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Number of Points versus Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Output Load Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Output Units Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Selecting the Deviation Units for Phase Modulation . . . . . . . . . . . . . . . . . 80
Using MINimum and MAXimum Parameters . . . . . . . . . . . . . . . . . . . . . 81
Chapter 3. Generating Arbitrary Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . 83
Chapter Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Arbitrary Waveforms Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
How the AFG Generates Arbitrary Waveforms . . . . . . . . . . . . . . . . . . . . . . 86
Generating a Simple Arbitrary Waveform . . . . . . . . . . . . . . . . . . . . . . . . 88
BASIC Program Example (ARBWAVE) . . . . . . . . . . . . . . . . . . . . . . . 91
Executing Several Waveform Segments . . . . . . . . . . . . . . . . . . . . . . . . . 93
BASIC Program Example (MULSEG) . . . . . . . . . . . . . . . . . . . . . . . . 96
Using Different Frequency Generators . . . . . . . . . . . . . . . . . . . . . . . . . . 99
BASIC Program Example (AFGGEN1) . . . . . . . . . . . . . . . . . . . . . . . . 102
BASIC Program Example (AFGGEN2) . . . . . . . . . . . . . . . . . . . . . . . . 104
Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Generating a Sin(X)/X Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
BASIC Program Example (SIN_X) . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Generating a Damped Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
BASIC Program Example (SIN_D) . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Generating an Exponential Charge/Discharge Waveform . . . . . . . . . . . . . . . 108
BASIC Program Example (CHARGE) . . . . . . . . . . . . . . . . . . . . . . . . 108
Generating a Sine Wave with Spikes . . . . . . . . . . . . . . . . . . . . . . . . . 109
BASIC Program Example (SPIKES) . . . . . . . . . . . . . . . . . . . . . . . . . 109
Generating a
1
2
Rectified Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . 111
BASIC Program Example (SIN_R) . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Generating Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
BASIC Program Example (NOISE) . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Arbitrary Waveform Program Comments . . . . . . . . . . . . . . . . . . . . . . . . . 113
Determining the Amount of Segment and Sequence Memory . . . . . . . . . . . . 113
How to Free Segment and Sequence Memory . . . . . . . . . . . . . . . . . . . . . 113
Amplitude Effects on Voltage Lists . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Using DAC Codes to Send Segment Data . . . . . . . . . . . . . . . . . . . . . . . 114
Sending Segment Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Reference Oscillator Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Sample Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Frequency1 Generator Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
2 Agilent E1445A User’s Manual Contents