Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-106
2600BS-901-01 Rev. B / May 2013
Example
smua.reset()
smua.source.rangev = 5
smua.source.rangei = 1
smua.source.levelv = 0
smua.measure.rangev = 5
smua.measure.rangei = 1
smua.measure.nplc = 0.01
smua.measure.autozero = smua.AUTOZERO_ONCE
smua.nvbuffer1.clear()
smua.nvbuffer1.appendmode = 1
smua.source.output = smua.OUTPUT_ON
smub.reset()
smub.source.func = smub.OUTPUT_DCAMPS
smub.source.rangei = 1
smub.source.rangev = 5
smub.source.leveli = 0
smub.measure.rangei = 1
smub.measure.rangev = 5
smub.measure.nplc = 0.01
smub.measure.autozero = smub.AUTOZERO_ONCE
smub.nvbuffer1.clear()
smub.nvbuffer1.appendmode = 1
smub.source.output = smub.OUTPUT_ON
f1, msg1 = ConfigPulseVMeasureI(smua, 0, 5, 1,
0.002, 0.2, 10, smua.nvbuffer1, 1)
f2, msg2 = ConfigPulseIMeasureV(smub, 0,-1, 5,
0.001, 0.2, 10, smub.nvbuffer1, 2)
if (f1 == true) and (f2 == true) then
f3, msg3 = InitiatePulseTestDual(1, 2)
print("Initiate message:", msg3)
else
print("Config errors:", msg1, msg2)
end
Set up the System
SourceMeter
®
instrument
channels A and B for pulse
operation, configure pulse
trains for each channel, and
then initiate the pulse trains
if no errors are encountered.
Channel A will pulse voltage
from a bias level of 0 V to
pulse level of 5 V. The pulse
level will be present for
2 ms, and the bias level for
200 ms with a 1 A limit
setting.
A total of 10 pulses will be
generated on channel A,
and the measurement data
will be stored in
smua.nvbuffer1
. This
pulse train will be assigned
to
tag = 1
.
Channel B will pulse current
from a bias level of 0 A to
pulse level of 1 A. The pulse
level will be present for 1
ms, and the bias level for
200 ms with a 5V limit
setting.
A total of 10 pulses will be
generated on channel B,
and the measurement data
will be stored in
smub.nvbuffer1
. This
pulse train will be assigned
to
tag = 2
.
Also see
ConfigPulseIMeasureV()
(on page 7-33)
ConfigPulseVMeasureI()
(on page 7-39)
ConfigPulseIMeasureVSweepLin()
(on page 7-35)
ConfigPulseVMeasureISweepLin()
(on page 7-41)
ConfigPulseIMeasureVSweepLog()
(on page 7-37)
io.close()
This function closes a file.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes (see
Details
)
Summary of Contents for System SourceMeter 2601B
Page 841: ......