A-5
APPenDIx A
Scripts
Program 2. Capacitor Leakage Test
--[[
Cap_Leak():
This program performs capacitor leakage measurement.
Required equipment:
(1) Single-channel Keithley Series 2600 System SourceMeter instrument
(1) 1µF aluminum electrolytic capacitor
Running this script creates functions that can be used to test capacitors.
The functions created are:
1. Cap_Leak(vsrc,soak) --Default value vsrc = 40V
2. Check_Comp()
3. Calc_Val(vsrc, leaki)
4. Print_Data(leaki, leakres)
See detailed information listed in individual functions.
To run:
1) From Test Script Builder
- At the TSP> prompt in the Instrument Control Panel, type Cap_Leak()
2) From an external program
- Send the entire program text as a string using standard GPIB Write calls.
Rev1: JAC 5.22.2007
]]--
function Cap_Leak(vsrc, soak) --Configure instrument to source user-defined voltage
--and measure current.
--Instrument variables.
local l_soak = soak --Source delay before measurement (Recommended 7RC)
local l_icmpl = 1E-2 --Source compliance
local l_nplc = 1 --Measurement Integration Rate
local l_vsrc = vsrc--Voltage source value
--Define measured and calculated variables
local l_leaki = 0 --Initialize leakage current measurement
local l_leakres = 0 --Initialize leakage resistance measurement
local l_comp_val = false --Initialize compliance variable
--Default setting and level check
Summary of Contents for Series 2600
Page 5: ......
Page 7: ......
Page 17: ...2 8 Section 2 Two terminal Device Tests...
Page 39: ...4 10 Section 4 FET Tests...
Page 53: ...6 4 Section 6 High Power Tests...
Page 130: ...A 77 Appendix A Scripts BJT_Comm_Emit_Vsb...
Page 136: ...Click below to find more Mipaper at www lcis com tw Mipaper at www lcis com tw...