Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-31
Example 2
printbuffer(1, 10, smua.nvbuffer1.sourcefunctions)
Print the source function used
for 10 readings stored in
dedicated reading buffer 1.
Example output:
Voltage, Voltage, Voltage,
Voltage, Voltage, Voltage,
Voltage, Voltage, Voltage,
Voltage
Also see
bufferVar.measurefunctions (on page 11-26)
bufferVar.measureranges (on page 11-27)
bufferVar.n (on page 11-28)
bufferVar.readings (on page 11-29)
bufferVar.sourceoutputstates (on page 11-31)
bufferVar.sourceranges (on page 11-32)
bufferVar.sourcevalues (on page 11-33)
bufferVar.statuses (on page 11-34)
bufferVar.timestamps (on page 11-37)
Reading buffers (on page 5-1)
\
bufferVar.sourceoutputstates
This attribute indicates the state of the source output for readings that are stored in a specified buffer.
Usage
state = bufferVar.sourceoutputstates[N]
The output state (Off or On) when reading N of the specified buffer was acquired
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 bufferVar.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.