Ac Output Leveling - Agilent Technologies E1445A User's Manual And Scpi Programming Manual

Arbitrary function generator module scpi programming guide
Hide thumbs Also See for E1445A:
Table of Contents

Advertisement

Program Modifications
Visual BASIC and
Visual C/C++ Program
Versions

AC Output Leveling

144
Sweeping and Frequency-Shift Keying
To select another waveform, comment out (!) line 180 or 190 depending on
the waveform sequence (S1 or N1) you DO NOT want to output. You must
also comment out line 330 if line 180 is commented, or line 340 if line 190
is commented.
The Visual BASIC example program, SWP_ARB.FRM, is in directory
"VBPROG" and the Visual C example program, SWP_ARB.C, is in
directory "VCPROG" on the CD that came with your Agilent E1445A.
The SWP_LEVL program sets up a sine wave frequency sweep from 0 Hz
to 10 MHz and uses the AFG's 10 MHz filter and AC output leveling to
maintain a constant amplitude over the span.
With the flowchart in Figure 4-1 as a guide, the steps of this program are:
1. Select the frequency sweep mode
[SOURce:]FREQuency[1]:MODE <
2. Set the start frequency
[SOURce:]FREQuency[1]:STARt <
3. Set the stop frequency
[SOURce:]FREQuency[1]:STOP <
4. Set the number of sweeps
[SOURce:]SWEep:COUNt <
5. Set the output function
[SOURce:]FUNCtion[:SHAPe] <
6. Set the signal amplitude
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <
7. Select the output filter
OUTPut[1]:FILTer[:LPASs]:FREQuency <
8. Enable the output filter
OUTPut[1]:FILTer[:LPASs][:STATe] <
9. Place the AFG in the wait-for-arm state
INITiate[:IMMediate]
mode
>
start_freq>
stop_freq>
number
>
shape
>
frequency
>
mode
>
amplitude
>
Chapter 4

Advertisement

Table of Contents
loading

Table of Contents