7: TSP command reference  Series 2600B System SourceMeter® Instrument 
 
7-110  2600BS-901-01 Rev. C / August 2016 
 
Example 
 
address = gpib.address 
print(address) 
Sets the GPIB address and reads the address. 
Output: 
2.600000e+01 
Also see 
GPIB setup 
 
i_leakage_measure() 
This KIHighC factory script function performs a current leakage measurement after stepping the output voltage. 
Type  TSP-Link accessible 
Affected by  Where saved  Default value 
Function  No 
   
 
 
Usage 
imeas = i_leakage_measure(smu, levelv, limiti, sourcedelay, measurei, measuredelay) 
 
The measured current 
System SourceMeter
 instrument channel (for example, smua refers to SMU 
channel A)   
Voltage level to step to when this function is called 
Current limit setting for the voltage step 
Delay to wait before lowering the current limit for measurement 
Current limit (and measure range); note the current limit is lower at this level and 
because high-capacitance mode is active, the measure range will follow 
Delay to wait after lowering the current limit before taking the measurement 
 
Details 
This function causes the smu to: 
•  Change its current limit to limiti with a voltage output of levelv for sourcedelay time, and then 
changes its current limit to measurei (that also changes the measurement range to measurei) for 
measuredelay time  
•  When measuredelay time expires, a measurement is taken and returned as imeas. 
When measuring leakage current: 
•  Charge the capacitor before calling this function (the instrument's output is usually at a nonzero voltage 
before calling this function; when measuring leakage, this function does not charge the capacitor).  
•  Set levelv = 0