Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
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,
1.00000e-07, 1.00000e-07
Also see
(on page 7-25)
(on page 7-27)
(on page 7-28)
(on page 7-29)
(on page 7-31)
(on page 7-32)
(on page 7-33)
bufferVar.n
This attribute contains the number of readings in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer See
Details
Not applicable
Usage
numberOfReadings
=
bufferVar
.n
numberOfReadings
The number of readings stored in the buffer
bufferVar
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading buffer
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.