7: TSP command reference Series 2600B System SourceMeter® Instrument
7-182 2600BS-901-01 Rev. B / May 2013
Example
Terminates all overlapped operations on SMU channel A.
Also see
smuX.measure.overlappedY() (on page 7-209)
smuX.trigger.initiate() (on page 7-240)
smuX.buffer.getstats()
This function returns a specified reading buffer's statistics.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
statistics = smuX.buffer.getstats(bufferVar)
The statistical data about the data in the reading buffer
Source-measure unit (SMU) channel (for example, smua.buffer.getstats()
The reading buffer to process
Details
This function returns a table with statistical data about the data that is placed in the buffer.
The SMU automatically updates reading buffer statistics as data is added to the reading buffer. When the
reading buffer is configured to wrap around and overwrite older data with new data, the buffer statistics include
the data that was overwritten.
The table returned from this function is a snapshot. Although the SMU continues to update the statistics, the
table returned is not updated. To get fresh statistics, call this function again.
The statistics parameter has the attributes described in the following table.
Attribute When returned Description
The number of data points on which the statistics are based
When
> 0
The average of all readings added to the buffer
The standard deviation of all readings (samples) added to the buffer
When
> 0
A table containing data about the minimum reading value added to the buffer
A table containing data about the maximum reading value added to the buffer