![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750340.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-27
bufferVar.sourcefunctions
This attribute contains the source function that was being used when the readings were stored in a specified
reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer See
Details
Not
applicable
Usage
sourcefunction
=
bufferVar
.sourcefunctions[
N
]
sourcefunction
The source function used (
"current"
or
"voltage"
) to acquire reading number
N
in the specified buffer
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
The
sourcefunctions
buffer recall attribute is like an array (a Lua table) of strings indicating the source
function at the time of the measurement.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the reading buffer
is saved to nonvolatile memory.
Example 1
sourcefunction = smua.nvbuffer1.sourcefunctions[3]
Store the source function used
to make reading number 3.
Example 2
printbuffer(1, 10, smua.nvbuffer1.sourcefunctions)
Print the source function used
for 10 readings stored in
dedicated reading buffer 1.
Example output:
Voltage, Voltage,
Voltage, Voltage,
Voltage, Voltage,
Voltage, Voltage,
Voltage, Voltage
Also see
(on page 7-23)
(on page 7-28)
(on page 7-29)
(on page 7-30)
(on page 7-32)
\
Содержание 2657A
Страница 3: ......