User`s manual

Sweeping Using
Start and Span
Frequencies
The SMPLSWP2 program specifies a start frequency and a frequency span
to continuously sweep from 1 kHz to 21 kHz. The program also queries the
start frequency, stop frequency, center frequency, and frequency span to
show the relationship between them.
Using the flowchart in Figure 4-1 as a guide, the steps of this program are:
1. Set the frequency sweep mode
[SOURce:]FREQuency[1]:MODE <mode>
2. Set the start frequency
[SOURce:]FREQuency[1]:STARt <start_freq>
3. Set the frequency span
[SOURce:]FREQuency[1]:SPAN <freq_span>
4. Set the number of sweeps
[SOURce:]SWEep:COUNt <number>
5. Set the output function
[SOURce:]FUNCtion[:SHAPe] <shape>
6. Set the signal amplitude
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <amplitude>
7. Place the AFG in the wait-for-arm state
INITiate[:IMMediate]
Chapter 4 Sweeping and Frequency-Shift Keying 127