Keithley 2450 Reference Manual page 233

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 3: Functions and features
Diode grading TSP code
-- Number of diodes to test
local number_of_diodes = 100
-- Reset instrument to default settings
reset()
-- Create source and measure configuration lists
smu.source.configlist.create("SOURCE_LIST")
smu.measure.configlist.create("MEASURE_LIST")
-- Create data tables to simplify setup code
-- Three diode tests performed in the following order: Vf, Vr (limits actually for
Zener diode voltage, Vz), and Il
local SRC_FUNC = {smu.FUNC_DC_CURRENT, smu.FUNC_DC_CURRENT, smu.FUNC_DC_VOLTAGE}
local SRC_RANGE_LEVEL = {1, -0.260, -1.5}
-- When sourcing current you limit the voltage
local SRC_VLIMIT = {2.4, 9.4, nil}
-- When sourcing voltage you limit the current
local SRC_ILIMIT = {nil, nil, 30e-6}
local SRC_DELAY = {0.001, 0.001, 0.01}
local MEAS_FUNC = {smu.FUNC_DC_VOLTAGE, smu.FUNC_DC_VOLTAGE, smu.FUNC_DC_CURRENT}
local MEAS_RANGE = {2.4, 9.4, 30e-6}
local MEAS_LIMIT_LOW = {0,
local MEAS_LIMIT_HIGH = {1.2, -4.23,
-- Set up the configuration lists
for i = 1, 3 do
-- Source function must be first source setting;
-- most other settings are tied to the function
smu.source.func = SRC_FUNC[i]
-- Type of range depends on source function
smu.source.range = SRC_RANGE_LEVEL[i]
-- Type of level depends on source function
smu.source.level = SRC_RANGE_LEVEL[i]
-- There are 5 user source delays for each point in a configuration list
-- Only using user delay 1
smu.source.userdelay[1] = SRC_DELAY[i]
-- Measure function must be first measure setting;
-- most other settings are tied to the function
smu.measure.func = MEAS_FUNC[i]
-- Use 4-wire or "remote" voltage sensing
smu.measure.sense = smu.SENSE_4WIRE
-- Type of range depends on source function
smu.measure.range = MEAS_RANGE[i]
-- Set source limit after setting measure range to avoid conflict
-- between measure range and corresponding limit range
if SRC_VLIMIT[i] then
smu.source.vlimit.level = SRC_VLIMIT[i]
else
3-88
Model 2450 Interactive SourceMeter® Instrument Reference Manual
-5.17, -15e-6}
0
}
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents