System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-27
Example 2
printbuffer(1, 10, smua.nvbuffer1.sourcefunctions)
Print the source function used
for 10 readings stored in
source-measure unit (SMU)
channel A, dedicated reading
buffer 1.
Example output:
Voltage, Voltage,
Voltage, Voltage,
Voltage, Voltage,
Voltage, Voltage,
Also see
bufferVar.measurefunctions (on page 7-22)
bufferVar.measureranges (on page 7-23)
bufferVar.n (on page 7-24)
bufferVar.readings (on page 7-25)
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.sourceoutputstates
This attribute indicates the state of the source output for readings that are stored in a specified buffer.
Type TSP-Link accessible Affected by Where saved Default value
Usage
state = bufferVar.sourceoutputstates[N]
The output state ("Off" or "On") when reading N of the specified buffer was
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as
)
bufferVar
Details
The sourceoutputstates buffer recall attribute is similar to an array (a Lua table) of strings. This array
indicates the state of the source output ("Off" or "On") at the time of the measurement.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the reading buffer
is saved to nonvolatile memory.
Example
printbuffer(1, 1, smua.nvbuffer1.sourceoutputstates)
Print the source output for the
first reading stored in source-
measure unit (SMU) channel A,
dedicated reading buffer 1.
Example output: