Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-176
2606B-901-01 Rev. B / May 2018
Attribute
Description
measurefunction
String indicating the function that was measured for the reading (current,
voltage, ohms or watts)
measurerange
The full-scale range value for the measurement range used when the
measurement was made
reading
The reading value
sourcefunction
String indicating the source function at the time of the measurement (current
or voltage)
sourceoutputstate
String indicating the state of the source (off or on)
sourcerange
Full-scale range value for the source range used when the measurement
was made
sourcevalue
If
bufferVar
.collectsourcevalues
is enabled, the sourced value in
effect at the time of the reading
status
Status value for the reading; the status value is a floating-point number that
encodes the status value into a floating-point value
timestamp
If
bufferVar
.collecttimestamps
is enabled, the timestamp, in
seconds, between when the reading was acquired and when the first
reading in the buffer was acquired; adding this value to the base timestamp
will give the actual time the measurement was acquired
Also see
smuX.buffer.recalculatestats()
smuX.buffer.recalculatestats()
This function recalculates the statistics of the specified reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
smu
X
.buffer.recalculatestats(
bufferVar
)
X
Source-measure unit (SMU) channel (for example,
smua.buffer.recalculatestats()
specifies SMU channel A)
bufferVar
The reading buffer to process
Details
This function causes the SMU to regenerate the reading buffer statistics about the specified reading
buffer. Because the SMU automatically updates reading buffer statistics when data is added to the
reading buffer, this function is generally not needed. When the reading buffer is configured to wrap
around and overwrite older data with new data, the buffer statistics will include the data that was
overwritten. Use this function to recalculate the statistics that include only the data that is presently
stored in the buffer.
Also see
(on page 7-22)
(on page 7-175)