![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750339.webp)
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-26
2657A-901-01 Rev. B/December 2012
Also see
(on page 7-23)
(on page 7-27)
(on page 7-28)
(on page 7-29)
(on page 7-30)
(on page 7-32)
(on page 3-6)
(on page 7-204)
(on page 7-238)
bufferVar.readings
This attribute contains the readings 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
reading
=
bufferVar
.readings[
N
]
reading
The value of the reading in the specified reading buffer
bufferVar
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading buffer
N
The reading number (
1
to
bufferVar
.n
)
Details
The
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])
Output the first reading saved in dedicated
reading buffer 1.
Output:
8.81658e-08
Also see
(on page 7-23)
(on page 7-27)
(on page 7-28)
(on page 7-29)
(on page 7-30)
(on page 7-32)
(on page 3-6)
Содержание 2657A
Страница 3: ......