
Section 3: Functions and features
Model 2450 Interactive SourceMeter® Instrument Reference Manual
3-58
2450-901-01 Rev. B/September 2013
Sweep programming examples
The following examples show programming examples of typical sweeps.
Linear sweep with a voltage source
The following examples perform a linear sweep that uses a voltage source. They perform the
following actions:
•
Reset the instrument to its defaults.
•
Set the source function to voltage.
•
Set the source range to 20 V.
•
Set the measure function to current.
•
Set the current range to 100
µ
A.
•
Set up a linear sweep that sweeps from 0 to 10 volts in 20 steps with a source delay of 1 ms, a
sweep count of 1, and a fixed source range. In TSP only, name the configuration list that is
created for this sweep
VoltLinSweep
.
•
Start the sweeps.
No buffer is defined, so the data is stored in
defbuffer1
(on page 3-10) for
more information on reading buffers.
Using SCPI commands
*RST
SOUR:FUNC VOLT
SOUR:VOLT:RANG 20
SENS:FUNC "CURR"
SENS:CURR:RANG 100e-6
SOUR:SWE:VOLT:LIN 0, 10, 20, 1e-3, 1, FIXED
INIT
Using TSP commands
reset()
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.source.range = 20
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.range = 100e-6
smu.source.sweeplinear("VoltLinSweep", 0, 10, 20, 1e-3, 1, smu.RANGE_FIXED)
trigger.model.initiate()