4: Sourcing and measuring 2470 High Voltage SourceMeter Instrument
4-64 2470-901-01 Rev. A / May 2019
Logarithmic sweep with a current source
The following examples perform a logarithmic sweep using a current source. They perform the
following actions:
• Reset the instrument to its defaults.
• Set the source function to current.
• Set the source range to 100 mA.
• Set up a logarithmic sweep from 100 µA to 100 mA in 10 steps with a source delay of 10 ms, a
sweep count of 1, and a fixed source range. In TSP only, name the configuration list that is
created for this sweep RES.
• Set the measure function to current.
• Set the current range to 100 µA.
• Start the sweep.
No buffer is defined, so the data is stored in defbuffer1. See Reading buffers (on page 6-1
) for
more information on reading buffers.
Using SCPI commands
*RST
SOUR:FUNC CURR
SOUR:CURR:RANG 100e-3
SOUR:CURR:VLIM 20
SENS:FUNC "VOLT"
SENS:VOLT:RANG 20
SOUR:SWE:CURR:LOG 100e-6, 100e-3, 10, 10e-3, 1, BEST, OFF
INIT
*WAI
TRAC:DATA? 1, 10, "defbuffer1", SOUR, READ
Using TSP commands
reset()
smu.source.func = smu.FUNC_DC_CURRENT
smu.source.range = 100e-3
smu.source.vlimit.level = 20
smu.source.sweeplog("RES", 100e-6, 100e-3, 10, 10e-3, 1, smu.RANGE_BEST, smu.OFF)
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.range = 20
trigger.model.initiate()
waitcomplete()
printbuffer(1, 10, defbuffer1.sourcevalues, defbuffer1.readings)