Datasheet

Section 10: Capturing high-power pulse waveforms Model 2461 Interactive SourceMeter® Instrument User's Manual
10-8 2461-900-01 Rev. A / November 2015
TSP commands to output a high-power pulse waveforms
The following TSP code is designed to be run from Keithley Instruments Test Script Builder (TSB).
TSB is a software tool that is available from the Keithley Instruments website. You can install and
use TSB to write code and develop scripts for TSP-enabled instruments. Information about how to
use TSB is in the online help for TSB and in the “Introduction to TSP operation” section of the Model
2461 Reference Manual.
To use other programming environments, you may need to make changes to the example TSP code.
By default, the Model 2461 uses the SCPI command set. You must select the TSP command set
before sending TSP commands to the instrument.
To enable TSP commands:
1. Press the MENU key.
2. Under System, select Settings.
3. For Command Set, select TSP.
4. At the prompt to reboot, select Yes.
The following example code generates 1 pulse with a magnitude of 10 A and a pulse width of 1 ms.
The load creates the data shown below was a 2 ohm, 50 W resistor. The voltage and current
waveforms capture at 500 kS/s each and the readings are stored in the default buffer defbuffer1.
---Reset the instrument
reset()
--Set up the pulse parameters (user-specified).
configListName = "myPulses"
bias_level = 0
pulse_level = 10
pulse_width = 1e-3
count = 1
MeasureEnable = smu.ON
bufferName = defbuffer1
delay = 1e-3
offTime = 99e-3
xBiasLimit = 2
xPulseLimit = 21
failAbort = smu.OFF
--Set the source to output current.
smu.source.func = smu.FUNC_DC_CURRENT
smu.source.readback = smu.ON
--Set up the measure functions.
smu.digitize.func = smu.FUNC_DIGITIZE_VOLTAGE
smu.digitize.sense = smu.SENSE_4WIRE
smu.digitize.range = 20
smu.digitize.samplerate = 500000
defbuffer1.capacity = 1000000
--Send the pulse train command to set up the trigger model and config lists.
smu.source.pulsetrain(configListName, bias_level, pulse_level, pulse_width, count,
MeasureEnable, bufferName, delay, offTime, xBiasLimit, xPulseLimit, failAbort)
---Initiate trigger model and wait until finished.
trigger.model.initiate()
waitcomplete()