Tektronix KEITHLEY SourceMeter 2606B Reference Manual page 403

Table of Contents

Advertisement

Section 15: TSP command reference
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
Attribute (R)
Yes
Usage
sourcefunction = bufferVar.sourcefunctions[N]
sourcefunction
bufferVar
N
Details
The bufferVar.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]
print(sourcefunction)
Store the source function used to make reading number 3 and output the value.
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
bufferVar.measurefunctions
bufferVar.measureranges
bufferVar.n
(on page 15-28)
bufferVar.readings
bufferVar.sourceoutputstates
bufferVar.sourceranges
bufferVar.sourcevalues
bufferVar.statuses
bufferVar.timestamps
Reading buffers
15-30
Affected by
Clearing the buffer
The source function used (Current or Voltage) to acquire reading number N in
the specified buffer
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 15-25)
(on page 15-26)
(on page 15-29)
(on page 15-31)
(on page 15-31)
(on page 15-32)
(on page 15-34)
(on page 15-36)
(on page 6-1)
Model 2606B System SourceMeter® Instrument Reference Manual
Where saved
See Details
2606B-901-01 Rev. C November 2021
Default value
Not applicable

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?

Table of Contents