Keithley Series 2600 Application Manual page 60

System sourcemeter instruments semiconductor device test
Table of Contents

Advertisement

function Check_Comp() --Function checks state of compliance, if true, prints warning and
returns
local l_comp_val = false --Initialize local variable
l_comp_val = smua.source.compliance --Check compliance
if l_comp_val == true then
print("")
print("SMU Source in Compliance!")
print("Ensure proper connections, stable device, and settings are correct")
print("Rerun Test")
print("")
end --if
return l_comp_val
end --function Check_Comp()
function Calc_Val(vsrc, leaki)
local l_vsrc = vsrc --Pass global source variable to local
local l_leaki = leaki --Pass global current variable to local
local l_leakres = 0 --Initialize leakage resistance local
l_leakres = vsrc/leaki --Return quotient = resistance calculation
return l_leakres
end --function Calc_Val()
function Print_Data(leaki, leakres)
local l_leaki = leaki
local l_leakres = leakres
print("")
print("**** Data ****")
print("")
print("Leakage Current: ", l_leaki, "A") --Print Leakage Current
print("")
print("Leakage Resistance: ", l_leakres, "Ohms") --Print resistance value
end --function Print_Data()
--Cap_Leak() --Call Cap_Leak() function
--to run_test()
--function calculates resistance and voltage coefficient
APPenDIx A
Scripts
A-7

Advertisement

Table of Contents
loading

Table of Contents