Series 2600B System SourceMeter® Instrument Reference Manual
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
Attribute (R)
Yes
Usage
sourcevalue = bufferVar.sourcevalues[N]
sourcevalue
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
11-22) 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]
Example 2
printbuffer(1, 6, smua.nvbuffer1.sourcevalues) Print the sourced value of the first 6 readings
Also see
bufferVar.measurefunctions
bufferVar.measureranges
bufferVar.n
(on page 11-28)
bufferVar.readings
bufferVar.sourcefunctions
bufferVar.sourceoutputstates
bufferVar.sourceranges
bufferVar.statuses
bufferVar.timestamps
Reading buffers
2600BS-901-01 Rev. E / January 2019
Affected by
Clearing the buffer
The source's output value when reading N of the specified buffer was acquired
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
The reading number (1 to bufferVar.n)
(on page 11-26)
(on page 11-27)
(on page 11-29)
(on page 11-30)
(on page 11-31)
(on page 11-32)
(on page 11-34)
(on page 11-36)
(on page 5-8, on page 5-1)
Section 11: TSP command reference
Where saved
See Details
bufferVar.collectsourcevalues
Get the sourced value of the first reading
stored in dedicated reading buffer 1.
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
Default value
Not applicable
(on page
11-33
Need help?
Do you have a question about the KEITHLEY System SourceMeter 2636B and is the answer not in the manual?