Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-23
Details
When this attribute is set to smuX.FILL_ONCE, the reading buffer will not overwrite readings. If the buffer fills up,
new readings will be discarded.
When this attribute is set to smuX.FILL_WINDOW, new readings will be added after existing data until the buffer
holds bufferVar.fillcount elements. Continuing the sequence, the next reading will overwrite the reading
at index 1, the reading after that will overwrite the reading at index 2, and so on.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the reading buffer
is saved to nonvolatile memory.
Example
smua.nvbuffer1.fillmode = smua.FILL_ONCE
Sets fill mode of dedicated reading
buffer 1 to fill once (do not overwrite
old data).
Also see
bufferVar.fillcount (on page 7-22)
Reading buffers
(on page 3-6)
bufferVar.measurefunctions
This attribute contains the measurement function that was used to acquire a reading stored in a specified reading
buffer.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) Yes Clearing the buffer See Details Not applicable
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.