2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-209
Example
local ivalues = {}
smua.source.rangev = 1
smua.source.levelv = 0
smua.measure.rangei = 0.01
smua.source.output = smua.OUTPUT_ON
for index = 1, 10 do
ivalues[index] = smua.measureiandstep(index / 10)
end
ivalues[11] = smua.measure.i()
This use of the SMU channel A
measure and step function
measures current starting at a
source value of 0 V. After each
current measurement, the source is
stepped 100 mV for the next current
measurement. The final source level
is 1 V, where current is again
measured.
Also see
(on page 7-241)
(on page 7-243)
(on page 7-244)
(on page 7-245)
smuX.nvbufferY
This attribute contains a dedicated reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
See
Details
Not applicable
Usage
bufferVar
= smu
X
.nvbuffer
Y
bufferVar
The dedicated reading buffer
X
Source-measure unit (SMU) channel (for example,
smua.nvbuffer1
applies to
SMU channel A)
Y
SMU nonvolatile buffer (
1
or
2
)
Details
Each SMU channel contains two dedicated reading buffers:
smu
X
.nvbuffer1
and
smu
X
.nvbuffer2
.
All routines that return measurements can also store them in either reading buffer. Overlapped
measurements are always stored in a reading buffer. Synchronous measurements return either a
single-point measurement or can be stored in a reading buffer if passed to the measurement
command.
The dedicated reading buffers can be saved to internal nonvolatile memory (to retain data between
power cycles) using the
smu
X
.savebuffer()
function.
Example
smua.measure.overlappedv(smua.nvbuffer1)
Store voltage readings from SMU channel A
into SMU channel A dedicated reading
buffer 1.