14: TSP command reference  2470 High Voltage SourceMeter Instrument 
 
14-172 2470-901-01 Rev. A / May 2019 
Example 
 
smu.source.func = smu.FUNC_DC_CURRENT 
smu.source.range = 1 
smu.measure.func = smu.FUNC_DC_VOLTAGE 
smu.measure.range = 20 
smu.source.sweeplinearstep("CurrLogSweep", -1.05, 1.05, .25, 10e-3, 1, 
smu.RANGE_FIXED) 
Reset the instrument to its defaults. 
Set the source function to current. 
Set the source range to 1 A. Set the measure function to voltage with a range of 20 V. 
Set up a linear step sweep that sweeps from -1.05 A to 1.05 A in 0.25 A increments with a source delay of 
1 ms, a sweep count of 1, and a fixed source range. Name the configuration list that is created for this sweep 
CurrLogSweep.
Also see 
Sweep operation (on page 4-54) 
smu.source.sweeplist() 
This function sets up a sweep based on a configuration list, which allows you to customize the sweep. 
Type  TSP-Link accessible 
Affected by  Where saved  Default value 
Usage 
smu.source.sweeplist("configListName") 
smu.source.sweeplist("configListName", index) 
smu.source.sweeplist("configListName", index, sDelay) 
smu.source.sweeplist("configListName", index, sDelay, count) 
smu.source.sweeplist("configListName", index, sDelay, count, failAbort) 
smu.source.sweeplist("configListName", index, sDelay, count, failAbort, bufferName) 
The name of the source configuration list that the sweep uses; this must be defined 
before sending this command 
The index in the configuration list where the sweep starts; default is 1
The delay between measurement points; default is 0 for no delay or you can set a
specific delay value from 50 µs to 10 ks 
The number of times to run the sweep; default is 1:
 Infinite loop: smu.INFINITE
 Finite loop: 
 to 
Complete the sweep if the source limit is exceeded: smu.OFF
Abort the sweep if the source limit is exceeded: 
 (default)
The name of a reading buffer; the default buffers (defbuffer1 or defbuffer2) or
the name of a user-defined buffer; if no buffer is specified, this parameter defaults to 
defbuffer1