Keithley Series 2600 Application Manual page 74

System sourcemeter instruments semiconductor device test
Table of Contents

Advertisement

if (l_vstart > 100E-3) then --Coerce value
l_vstart = 100E-3
end --if
if (l_vstop == nil) then --Use default value
l_vstop = 10
end --if
if (l_vstop > 40) then --Coerce value
l_vstop = 40
end --if
if (l_vsteps == nil) then --Use default value
l_vsteps = 100
end --if
if (l_vsteps > 2E+2) then --Coerce value
l_vsteps = 2E+2
end --if
local l_vstep = (l_vstop - l_vstart)/ (l_vsteps - 1) --Voltage step size
local l_vsource_val = l_vstart --Source value during sweep
local l_v = 1 --Iteration variable
--Data tables
local l_base_curr = {} --Create data table for sourced current
local l_ce_volt = {} --Create data table for collector-emitter measured voltage
local l_ce_curr = {} --Create data table for collector-emitter measured current
smua.reset() --Reset SMU
smub.reset() --Reset SMU
errorqueue.clear() --Clear the error queue
--Configure Collector/Emitter (SMUA) source and measure settings
smua.source.func = smua.OUTPUT_DCVOLTS
smua.source.autorangev = smua.AUTORANGE_ON --Enable source autorange
smua.source.levelv = 0
smua.source.limiti = l_icmpl
smua.measure.autorangei = smua.AUTORANGE_ON --Enable measure autorange
smua.measure.autozero = smua.AUTOZERO_AUTO
smua.measure.nplc = l_nplc --Measurement integration rate
smua.source.output = smua.OUTPUT_ON --Enable Output
--Configure Base (SMUB) source and measure settings
smub.source.func = smub.OUTPUT_DCAMPS
smub.source.autorangei = smub.AUTORANGE_ON --Enable source autorange
smub.source.leveli = 0
APPenDIx A
Scripts
A-21

Advertisement

Table of Contents
loading

Table of Contents