Model 6220/6221 Reference Manual Wave Functions (6221 Only) 7-25
Return to Section 7 topics
Programming arbitrary waveforms
1. Restore defaults with this command:
*RST
2. Configure the waveform.
Examples – The following commands configure 100kHz arbitrary wave
with an amplitude of 25mA, 0mA offset, phase marker off, and 20 second
duration:
3. Arm and trigger the waveform, turn on output:
4. To stop generating the waveform and turn the source output off before the
duration elapses, send this command:
SOUR:WAVE:ARB:DATA -0.5, -0.25,
0, 0.3, 0.4
‘
‘
Define arbitrary data points in
location 0.
SOUR:WAVE:ARB:COPY 1 ‘ Copy points to location 1.
SOUR:WAVE:FUNC ARB1 ‘ Select arb wave, location 1.
SOUR:WAVE:FREQ 1e5 ‘ Set frequency to 100kHz.
SOUR:WAVE:AMPL 25e-3 ‘ Set amplitude to 25mA.
SOUR:WAVE:OFFS 0 ‘ Set offset to 0.
SOUR:WAVE:PMAR:STAT OFF ‘ Turn off phase marker.
SOUR:WAVE:DUR:TIME 20 ‘ 20 second duration.
SOUR:WAVE:RANG BEST ‘ Select best fixed source range.
SOUR:WAVE:ARM ‘Arm waveform.
SOUR:WAVE:INIT ‘ Turn on output, trigger waveform.
SOUR:WAVE:ABOR ‘ Stop generating waveform.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com