Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. B / May 2013
7-23
Usage
measurefunction
=
bufferVar
.measurefunctions[
N
]
measurefunction
The measurement function used (
"current"
,
"voltage"
,
"ohms"
, or
"watts
")
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
measurefunctions
buffer recall attribute is like an array (a Lua table) of strings indicating the function
measured for the reading.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the reading buffer
is saved to nonvolatile memory.
Example 1
measurefunction = smua.nvbuffer1.measurefunctions[5]
Store the measure function
used to make reading
number 5.
Example 2
printbuffer(1, 5, smua.nvbuffer1.measurefunctions)
Print the measurement
function that was used to
measure the first five readings
saved in source-measure unit
(SMU) channel A, dedicated
reading buffer 1.
Example output:
Current, Current,
Current, Current,
Current
Also see
bufferVar.measureranges
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.measureranges
This attribute contains the measurement range values that were used for readings stored in a specified buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer
See
Details
Not applicable
Summary of Contents for System SourceMeter 2601B
Page 841: ......