Model 2450 Interactive SourceMeter® Instrument User's Manual
Section 6: Leakage current and insulation resistance
The following TSP commands make insulation resistance measurements by sourcing 20 V and
measuring the resistance. The Simple Loop trigger model template is used to make
10 measurements at 100 ms intervals. After the code is executed, the measurement results are
displayed in the Instrument Console of Test Script Builder.
Send the following commands for this example application:
--Reset the instrument
reset()
--Set up the measure function
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.unit = smu.UNIT_OHM
smu.measure.terminals = smu.TERMINALS_REAR
smu.measure.autorange = smu.ON
smu.measure.nplc = 1
--Set up the source function.
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.source.ilimit.level = 0.1
smu.source.level = 20
--Turn on the source output and take readings.
trigger.model.load("SimpleLoop", 10, 0.1)
smu.source.output = smu.ON
trigger.model.initiate()
--Wait for the measurements to complete.
waitcomplete()
--Parse index and the data into three columns.
for i = 1, defbuffer1.n do
print(i, "\t", defbuffer1[i], "\t", defbuffer1.relativetimestamps[i])
end
--Turn off the output.
smu.source.output = smu.OFF
2450-900-01 Rev. C / December 2013
6-11
Need help?
Do you have a question about the Interactive SourceMeter 2450 and is the answer not in the manual?