User`s manual

Generating Sine Waves
The SINEWAVE program outputs a Sine Wave at 1 kHz and 5 V output
level. The commands are:
1. Reset the AFG
*RST
This command aborts any waveform output and selects the sinusoid
function, output impedance, and output load to 50
.
2. Set the Waveform Frequency
[SOURce:]FREQuency[1][:FIXed] <frequency>
This command specifies the waveform frequency. You must use the
direct synthesis frequency generator for the sinusoid function. Refer to
Table B-3 in Appendix B for the frequency limits.
3. Select the Function
[SOURce:]FUNCtion[:SHAPe] SINusoid
This command selects the sinusoid function. (Although *RST
automatically selects this function, it is selected here for good
programming practice.)
4. Set the Amplitude
[SOURce:]VOLTage[:LEVel][IMMediate][:AMPLitude] <amplitude>
This command specifies the amplitude. Refer to the section called
“Selecting the Amplitude Levels and Output Units” on page 72 for
more information.
5. Initiate the Waveform
INITiate[:IMMediate]
This command generates an immediate output with the arm source set
to
IMMediate. Refer to Chapter 5 for triggering information.
58 Generating Standard Waveforms Chapter 2