Model 6220/6221 User's Manual
Programming sine waves
1.
2.
3.
4.
Restore defaults with this command:
*RST
Configure the waveform.
Examples – The following commands configure a 1kHz sine wave with an
amplitude of 10mA, 1mA offset, and phase marker off:
SOUR:WAVE:FUNC SIN
SOUR:WAVE:FREQ 1e3
SOUR:WAVE:AMPL 1e-2
SOUR:WAVE:OFFS 1e-3
SOUR:WAVE:PMAR:STAT OFF
SOUR:WAVE:DUR:TIME 5
SOUR:WAVE:RANG BEST
Arm and trigger the waveform, turn on output:
SOUR:WAVE:ARM
SOUR:WAVE:INIT
To stop generating the waveform and turn the source output off before the
duration elapses, send this command:
SOUR:WAVE:ABOR
Return to
Wave Functions (6221 Only) 7-13
' Select sine wave.
' Set frequency to 1kHz.
' Set amplitude to 10mA.
' Set offset to 1mA.
' Turn off phase marker.
' 5 second duration.
' Select best fixed source range.
' Arm waveform.
' Turn on output, trigger waveform.
' Stop generating waveform.
Section 7 topics