Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-24
2600BS-901-01 Rev. B / May 2013
Usage
measurerange
=
bufferVar
.measureanges[
N
]
measurerange
The measurement range used to acquire reading number
N
in the specified buffer
bufferVar
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as
smua.nvbuffer1
)
N
The reading number (
1
to
bufferVar
.n
)
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
bufferVar.measurefunctions
(on page 7-22)
bufferVar.n
(on page 7-24)
bufferVar.readings
(on page 7-25)
bufferVar.sourcefunctions
bufferVar.sourceoutputstates
(on page 7-27)
bufferVar.sourceranges
(on page 7-28)
bufferVar.sourcevalues
(on page 7-29)
bufferVar.statuses
(on page 7-30)
bufferVar.timestamps
(on page 7-32)
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
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
Summary of Contents for System SourceMeter 2601B
Page 841: ......