Model 6487 Reference Manual Buffer and Sweeps 6-15
Programming example
The following command sequence performs a sweep from 1V to 10V in 1V increments
and recalls all readings:
*RST ' Return 6487 to RST defaults.
SOUR:VOLT:SWE:STAR 1 ' Start voltage = 1V.
SOUR:VOLT:SWE:STOP 10 ' Stop voltage = 10V.
SOUR:VOLT:SWE:STEP 1 ' Step voltage = 1V.
SOUR:VOLT:SWE:DEL 0.1 ' 0.1s delay.
ARM:COUN INF ' Reset arm count.
FORM:ELEM READ,VSO ' Select reading, voltage source data.
SOUR:VOLT:SWE:INIT ' Arm sweep, put source in operate.
SYST:ZCH OFF ' Turn off zero check.
INIT ' Trigger sweep.
TRAC:DATA? ' Request all stored sweep readings.