Datasheet

Section 9: Pulse Testing High-Brightness LEDs Model 2461 Interactive SourceMeter® Instrument User's Manual
9-8 2461-900-01 Rev. A / November 2015
TSP commands to output a high-current pulse train
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.
This following example code generates 100 pulses with a magnitude varying from 0 to 4.15 V and a
pulse width of 0.8 ms. The load is a green high-brightness LED. The current readings are stored in
the default buffer, defbuffer1.
Send the following commands for this application:
Reset the instrument()
--Set up the pulse parameters (user-specified).
configListName = "myPulseSweep"
bias_level = 0
start = 0
stop = 4.15
-- Specify 100 points in the sweep.
points = 100
pulse_width = 0.8e-3
MeasureEnable = smu.ON
bufferName = defbuffer1
delay = 0
offTime = 19e-3
-- Do the sweep one time.
count = 1
xBiasLimit = 1
xPulseLimit = 10
failAbort = smu.OFF
-- The sweep goes from start to stop, but not back down again.
dual = 0
--Set the source to output voltage.
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.source.readback = smu.OFF
--Set up the measure functions.
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.sense = smu.SENSE_4WIRE