User`s manual
Sweep Points
Versus Time
To demonstrate the relationship between the number of points (frequencies)
in a frequency sweep and the time of the sweep, the SWP_PVST program
uses 100 frequency points to continuously sweep from 5 kHz to 15 kHz in
0.125 seconds. The program also shows you how to control the direction of
a sweep.
Using 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 <mode>
2. Set the start frequency
[SOURce:]FREQuency[1]:STARt <start_freq>
3. Set the stop frequency
[SOURce:]FREQuency[1]:STOP <stop_freq>
4. Set the direction (up or down) of the frequency sweep
[SOURce:]SWEep:DIRection <direction>
5. Set the number of points (frequencies) in the frequency sweep
[SOURce:]SWEep:POINts <number>
6. Set the number of sweeps
[SOURce:]SWEep:COUNt <number>
7. Set the frequency advance source
TRIGger:SWEep:SOURce <source>
8. Set the duration of the sweep
[SOURce:]SWEep:TIME <number>
9. Set the output function
[SOURce:]FUNCtion[:SHAPe] <shape>
10. Set the signal amplitude
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <amplitude>
11. Place the AFG in the wait-for-arm state
INITiate[:IMMediate]
Chapter 4 Sweeping and Frequency-Shift Keying 135