Tektronix Keithley 2651A Reference Manual page 375

High power system sourcemeter instrument
Table of Contents

Advertisement

Section 7: TSP command reference
bufferVar.readings
This attribute contains the readings stored in a specified reading buffer.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
reading = bufferVar.readings[N]
reading
bufferVar
N
Details
The bufferVar.readings buffer recall attribute is like an array (a Lua table) of the readings stored
in the reading buffer. This array holds the same data that is returned when the reading buffer is
accessed directly; that is, rb[2] and rb.readings[2] access the same value.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Example
print(smua.nvbuffer1.readings[1])
Also see
bufferVar.measurefunctions
bufferVar.measureranges
bufferVar.n
(on page 7-29)
bufferVar.sourcefunctions
bufferVar.sourceoutputstates
bufferVar.sourceranges
bufferVar.sourcevalues
bufferVar.statuses
bufferVar.timestamps
Reading buffers
7-30
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
Clearing the buffer
The value of the reading in the specified reading buffer
The reading buffer; can be a dynamically allocated user-defined buffer or a dedicated
reading buffer
The reading number N; can be any value from 1 to the number of readings in the
buffer; use the bufferVar.n command to determine the number of readings in
the buffer
(on page Error! Bookmark not defined.)
(on page 7-28)
(on page 7-31)
(on page 7-32)
(on page 7-33)
(on page 7-34)
(on page 7-35)
(on page 7-37)
(on page 3-6)
Where saved
Default value
See Details
Not applicable
Output the first reading saved in dedicated
reading buffer 1.
Output:
8.81658e-08
2651A-901-01 Rev. C October 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Table of Contents