Section 11: TSP command reference Model 2601B-PULSE System SourceMeter Instrument Reference Manual
11-34 2601B-PULSE-901-01A April 2020
Example 1
sourcevalue = smua.nvbuffer1.sourcevalues[1]
Get the sourced value of the first reading
stored in dedicated reading buffer 1.
Example 2
printbuffer(1, 6, smua.nvbuffer1.sourcevalues)
Print the sourced value of the first 6 readings
stored in source-measure unit (SMU) A,
buffer 1.
Example output:
1.00000e-04, 1.00000e-04,
1.00000e-04, 1.00000e-04,
1.00000e-04, 1.00000e-04
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.sourcefunctions (on page 11-30)
bufferVar.sourceoutputstates (on page 11-31)
bufferVar.sourceranges (on page 11-32)
bufferVar.statuses (on page 11-34)
bufferVar.timestamps (on page 11-37)
Reading buffers (on page 5-1)
bufferVar.statuses
This attribute contains the status values of readings in the reading buffer.
Usage
statusInformation = bufferVar.statuses[N]
The status value when reading N of the specified buffer was acquired
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading buffer
The reading number N; can be any value from 1 to the number of readings in the
buffer; use the bufferVar.n command to determine the number of readings in
the buffer
Details
This read-only buffer recall attribute is like an array (a Lua table) of the status values for all the
readings in the buffer. The status values are floating-point numbers that encode the status value; see
the following table for values.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.