Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. C / August 2016
7-111
Example
smua.source.highc = smua.ENABLE
smua.source.levelv = 5
smua.source.output = smua.OUTPUT_ON
delay(1)
imeas = i_leakage_measure(smua, 0, 1, 300e-3,
10e-6, .1)
Enable high-capacitance mode. Charge the
capacitor at 5 V for 1 second set
by
delay(1)
.
The parameters passed on to the
i_leakage_measure()
function in this
example are:
smu
= smua
levelv
= 0 V
limiti
= 1 A
sourcedelay
= 300 ms
measurei
= 10
µ
A range
measuredelay
= 100 ms
The levels and delays will depend on the
value and type of capacitor used.
Also see
(on page 7-111)
(on page 3-65)
(on page 5-23)
i_leakage_threshold()
This KIHighC factory script function measures the current and compares it to a threshold. This continues until
either the measured current drops below the threshold or the timeout expires.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
f
= i_leakage_threshold(
smu, levelv, limiti, sourcedelay, measurei, measuredelay,
threshold, timeout
)
f
A Boolean flag; this flag will be
true
when the current is below the threshold,
false
if threshold is not reached before timeout expires
smu
System SourceMeter
®
instrument channel (for example,
smua
refers to SMU
channel A)
levelv
Voltage level to step to when this function is called
limiti
Current limit setting for the voltage step
sourcedelay
Delay to wait before lowering the current limit for measurement
measurei
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
measuredelay
Delay before the first measurement after measure range is changed
threshold
The specified current that establishes the test limit
timeout
Amount of time (in seconds) to wait for the current to drop to
threshold
after all
the delays have occurred