![Keithley SourceMeter 2600B Series Reference Manual Download Page 371](http://html2.mh-extra.com/html/keithley/sourcemeter-2600b-series/sourcemeter-2600b-series_reference-manual_4085220371.webp)
Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-32
2600BS-901-01 Rev. C / August 2016
Example 2
printbuffer(1, 6, smua.nvbuffer1.sourceranges)
Print the source ranges that were used for the
first 6 readings stored in source-measure unit
(SMU) A, buffer 1.
Example output:
1.00000e-04, 1.00000e-04,
1.00000e-04, 1.00000e-04,
1.00000e-04, 1.00000e-04
Also see
(on page 7-25)
(on page 7-26)
(on page 7-27)
(on page 7-28)
(on page 7-29)
(on page 7-32)
(on page 7-33)
bufferVar.sourcevalues
When enabled by the
bufferVar
.collectsourcevalues
attribute, this attribute contains the source levels
being output when readings in the reading buffer were acquired.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer See
Details
Not applicable
Usage
sourcevalue
=
bufferVar
.sourcevalues[
N
]
sourcevalue
The source's output value when reading
N
of the specified buffer was acquired
bufferVar
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as
smua.nvbuffer1
)
N
The reading number (
1
to
bufferVar
.n
)
Details
If the
bufferVar
.collectsourcevalues
attribute is enabled before readings are taken, the
bufferVar
.sourcevalues
buffer recall attribute is like an array (a Lua table) of the sourced value
in effect at the time of the reading. Note that you can set the
bufferVar
.collectsourcevalues
attribute only if the affected reading buffer is empty. See
(on page 7-
21) for more detailed information.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Example 1
sourcevalue = smua.nvbuffer1.sourcevalues[1]
Get the sourced value of the first reading
stored in source-measure unit (SMU) A,
dedicated reading buffer 1.