Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-26 2600BS-901-01 Rev. F/August 2021
Usage
measurefunction = bufferVar.measurefunctions[N]
The measurement function used (Current, Voltage, Ohms, or Watts) to acquire
reading number N in the specified buffer
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as smua.nvbuffer1)
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.
printbuffer(1, 5, smua.nvbuffer1.measurefunctions)
Print the measurement function that was used to measure the first five readings saved in dedicated reading
buffer 1.
Example output:
Current, Current, Current, Current, Current
Also see
bufferVar.measureranges (on page 9-26)
bufferVar.n (on page 9-28)
bufferVar.readings (on page 9-29)
bufferVar.sourcefunctions (on page 9-30)
bufferVar.sourceoutputstates (on page 9-31)
bufferVar.sourceranges (on page 9-31)
bufferVar.sourcevalues (on page 9-32)
bufferVar.statuses (on page 9-34)
bufferVar.timestamps (on page 9-36)
Reading buffers (on page 3-1)
bufferVar.measureranges
This attribute contains the measurement range values that were used for readings stored in a specified buffer.