Keithley Series 2600 Application Manual page 84

System sourcemeter instruments semiconductor device test
Table of Contents

Advertisement

target value
end --ifelse
if l_ic_meas == nil then --If no measurement taken, initialize to 0 to avoid arithmetic
--error in until statement below
l_ic_meas = 0
end --if
until ((math.abs(l_ic_meas - l_target_ic) < (0.05*l_target_ic))or(l_k>l_k_max))
or(l_comp_val == true) --
--iteration limit reached
if (l_k > l_k_max) then
end --end if
smua.source.output = smua.OUTPUT_OFF --Disable output
smub.source.output = smub.OUTPUT_OFF --Disable output
l_beta_data = l_ic_meas/l_ib_source --Calculate gain
print("Ic Data:", l_ic_meas) --Print Ic data
print("Ib Data:", l_ib_source) --Print Ib
print("Beta Data:",l_beta_data) --Print gain
end --ifelse
end--function DC_Gain_Search()
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("")
l_ic_meas = smua.measure.i() --Measure Ic
if (l_target_ic < l_ic_meas) then --Compare measurement with
l_high_ib = l_ib_source
else
l_low_ib = l_ib_source
end --end if
print("Iteration Limit Reached!!")
--to run_test()
APPenDIx A
Scripts
A-31

Advertisement

Table of Contents
loading

Table of Contents