Keithley 2450 Reference Manual page 220

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
TRIGger:LOAD:EMPTy
TRIGger:BLOCk:BUFFer:CLE 1, "defbuffer1"
TRIG:BLOC:WAIT 2, DIG5
TRIG:BLOC:SOUR:STAT 3, ON
TRIG:BLOC:DEL:CONS 4, 0.001
TRIG:BLOC:MEAS 5, "defbuffer1"
TRIG:BLOC:SOUR:STAT 6, OFF
TRIG:BLOC:BRAN:LIM:CONS 7, IN, 80, 120, 10, 5
TRIG:BLOC:DIG:IO 8, 15, 15
TRIG:BLOC:BRAN:ALW 9, 20
TRIG:BLOC:BRAN:LIM:CONS 10, IN, 90, 110, 13,
5
TRIG:BLOC:DIG:IO 11, 1, 15
TRIG:BLOC:BRAN:ALW 12, 20
TRIG:BLOC:BRAN:LIM:CONS 13, IN, 95, 105, 16,
5
TRIG:BLOC:DIG:IO 14, 2, 15
TRIG:BLOC:BRAN:ALW 15, 20
TRIG:BLOC:BRAN:LIM:CONS 16, IN, 99, 101, 19,
5
TRIG:BLOC:DIG:IO 17, 3, 15
TRIG:BLOC:BRAN:ALW 18, 20
TRIG:BLOC:DIG:IO 19, 4, 15
TRIG:BLOC:DEL:CONS 20, 0.001
TRIG:BLOC:DIG:IO 21, 0, 15
TRIG:BLOC:NOT 22, 1
TRIG:BLOC:BRAN:COUN 23, 10, 2
Resistor grading TSP code
local number_of_resistors = 100
-- Reset instrument to default settings
reset()
-- Measure function must be first measure setting;
-- most other settings are tied to the function
smu.measure.func = smu.DC_VOLTAGE
smu.measure.unit = smu.UNIT_OHM
-- Use 4-wire or "remote" voltage sensing
smu.measure.sense = smu.SENSE_4WIRE
-- Measure the actual value of the source for higher accuracy
smu.source.readback = smu.ON
-- Set measurement integration time to 1PLC (16.67ms at 60Hz)
-- Decrease to reduce test time; trade off accuracy for speed
smu.measure.nplc = 1
-- Immediately update autozero reference measurements and then disable autozero
function
smu.measure.autozero.once()
2450-901-01 Rev. B/September 2013
Section 3: Functions and features
Clear any existing trigger model commands from the
instrument.
Set up the trigger model:
Block 1: Clear default buffer 1.
Block 2: Set up a wait block to wait for digital
line 5.
Block 3: Turn the source output on.
Bock 4: Set a constant delay of .001 seconds.
Block 5: Make a measurement and store it in
default buffer 1.
Block 6: Turn the output off.
Block 7: Set up the constant limits to perform
the first test.
Block 8: If block 7 fails, drive the digital I/O lines
high.
Blocks 9, 12, 15, and 18: Branch to block 20.
Block 10: Set up the constant limits to perform
the second test.
Block 11: If block 10 fails, drive line 1 high.
Block 13: Set up the constant limits to perform
the third test.
Block 14: If block 13 fails, drive line 2 high.
Block 16: Set up the constant limits to perform
the fourth test.
Block 17: If block 10 fails, drive lines 1 and 2
high.
Block 19: If block 10 fails, drive line 3 high.
Block 20: Delay for 1 ms
Block 21: Set all digital lines low.
Block 22: Send out a notify event to indicate
that the test has ended.
Block 23: Return to block 2 23 times.
3-75

Advertisement

Table of Contents
loading

Table of Contents