Buffervar.readings - Keithley 2606B System SourceMeter Reference Manual

Table of Contents

Advertisement

Section 7: TSP command reference
Example
numberOfReadings = smua.nvbuffer1.n
print(numberOfReadings)
Reads the number of readings stored in dedicated reading buffer 1 (source-measure unit (SMU) channel A).
Output:
1.25000+02
The above output indicates that there are 125 readings stored in the buffer.
Also see
bufferVar.measurefunctions
bufferVar.measureranges

bufferVar.readings

bufferVar.sourcefunctions
bufferVar.sourceoutputstates
bufferVar.sourceranges
bufferVar.sourcevalues
bufferVar.statuses
bufferVar.timestamps
Reading buffers
smuX.measure.overlappedY()
smuX.measure.Y()
smuX.nvbufferY
smuX.trigger.measure.Y()
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 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.
7-26
(on page 7-23)
(on page 7-24)
(on page 7-26)
(on page 7-27)
(on page 7-28)
(on page 7-29)
(on page 7-30)
(on page 7-31)
(on page 7-33)
(on page 3-5)
(on page 7-203)
(on page 7-207)
(on page 7-209)
(on page 7-238)
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
2606B System SourceMeter® Instrument Reference Manual
Where saved
See Details
2606B-901-01 Rev. B / May 2018
Default value
Not applicable

Advertisement

Table of Contents
loading

Table of Contents