![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750343.webp)
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-30
2657A-901-01 Rev. B/December 2012
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-20) 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 dedicated reading buffer 1.
Example 2
printbuffer(1, 6,
smua.nvbuffer1.sourcevalues)
Print the sourced value of 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-23)
(on page 7-27)
(on page 7-28)
(on page 7-30)
(on page 7-32)
bufferVar.statuses
This attribute contains the status values of readings in the reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer
See
Details
Not
applicable
Содержание 2657A
Страница 3: ......