Keithley 2450 Reference Manual page 629

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference
Details
This command sets the number of measurements that are taken when a measurement is requested. This
command does not affect the trigger model.
To get better feedback from the instrument, use the Simple Loop trigger model template instead of
using the count command.
Example 1
reset()
--Set up measure function
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.terminals = smu.TERMINALS_REAR
smu.measure.autorange = smu.ON
smu.measure.nplc = 1
smu.measure.count = 200
--Set up source function
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.source.ilimit.level = 0.1
smu.source.level = 20
smu.source.delay = 0.1
smu.source.highc = smu.OFF
--Turn on output and initiate readings
smu.source.output = smu.ON
smu.measure.read(defbuffer1)
--Parse index and data into three columns
print("Rdg #", "Times", "Current (A)")
for i=1, defbuffer1.n do
print(i, defbuffer1.relativetimestamps[i], defbuffer1[i])
end
--Discharge the capacitor to 0 V and turn off the output
smu.source.level=0
delay(2)
smu.source.output=smu.OFF
This example uses smu.measure.count to do a capacitor test. This outputs 200 readings that are similar to
the following output:
Rdg # Times Current (A)
1
0 8.5718931952528e-11
2
0.151875 1.6215984111057e-10
3
0.303727 1.5521139928865e-10
. . .
198 29.91579194
199 30.067648716
200 30.219497716
8-98
Model 2450 Interactive SourceMeter® Instrument Reference Manual
1.5521250951167e-10
1.4131290582142e-10
1.5521067764368e-10
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents