System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-27
Details
The measureranges buffer recall attribute is like an array (a Lua table) of full-scale range values for
the measure range used when the measurement was made.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Example
measurerange = smua.nvbuffer1.measureranges[1]
Store the measure range that was
used to make reading number 1.
printbuffer(1, 10, smua.nvbuffer1.measureranges)
Print the range values that were used
for the first 10 readings saved in
source-measure unit (SMU) A,
dedicated reading buffer 1.
Example output:
1.00000e-07, 1.00000e-07,
1.00000e-07, 1.00000e-07,
1.00000e-07, 1.00000e-07,
1.00000e-07, 1.00000e-07,
Also see
bufferVar.measurefunctions (on page 7-25)
bufferVar.n (on page 7-27)
bufferVar.readings (on page 7-28)
bufferVar.sourcefunctions (on page 7-29)
bufferVar.sourceoutputstates (on page 7-30)
bufferVar.sourceranges (on page 7-31)
bufferVar.sourcevalues (on page 7-32)
bufferVar.statuses (on page 7-33)
bufferVar.timestamps (on page 7-35)
Reading buffers (on page 3-6)
bufferVar.n
This attribute contains the number of readings in the buffer.
Type TSP-Link accessible Affected by Where saved Default value
Usage
numberOfReadings = bufferVar.n
The number of readings stored in the buffer
The reading buffer; can be a dynamically allocated user-defined buffer or a
Details
This read-only attribute contains the number of readings presently stored in the buffer.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.