Smux.buffer.getstats() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Example
smua.abort()
Also see
smuX.measure.overlappedY()
smuX.trigger.initiate()

smuX.buffer.getstats()

This function returns a specified reading buffer's statistics.
Type
TSP-Link accessible
Function
Yes
Usage
statistics = smuX.buffer.getstats(bufferVar)
statistics
X
bufferVar
Details
This function returns a table with statistical data about the data placed in the buffer.
The SMU will automatically update 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 will
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 will not be updated. To get fresh statistics, call this function again.
The statistics parameter has the following attributes:
Attribute
n
mean
stddev
min
max
If n equals zero (0), all other attributes will be nil because there is no data to base any statistics on. If n equals
1, the stddev attribute will be nil because the standard deviation of a sample size of 1 is undefined.
7-172
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-201)
(on page 7-234)
Affected by
The reading buffer's statistics
Source-measure unit (SMU) channel (for example, smua.buffer.getstats()
specifies SMU channel A)
The reading buffer to process
When returned
Description
Always
The number of data points on which the statistics are based
The average of all readings added to the buffer
When n > 0
The standard deviation of all readings (samples) added to the buffer
When n > 1
A table containing data about the minimum reading value added to the buffer
When n > 0
When n > 0
A table containing data about the maximum reading value added to the buffer
Terminates all overlapped operations on SMU channel A.
Where saved
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents