6: SCPI command reference Model 2461 Interactive SourceMeter® Instrument
6-172 2461-901-01 A/November 2015
Details
This command returns the average reading calculated from all of the readings in the specified reading
buffer.
When the reading buffer is configured to fill continuously and overwrite old data with new data, the
buffer statistics include the data that was overwritten. To get statistics that do not include data that
has been overwritten, define a large buffer size that will accommodate the number of readings you
will make.
Example
Returns the average reading for the readings in the default
buffer
.
TRACe:STAT:AVERage? "testData"
Returns the average reading for the readings in the user-
defined buffer
.
Also see
Reading buffers (on page 3-2)
Remote buffer operation (on page 3-23)
:TRACe:MAKE (on page 6-165)
:TRACe:STATistics:CLEar (on page 6-172)
:TRACe:STATistics:MAXimum? (on page 6-173)
:TRACe:STATistics:MINimum? (on page 6-174)
:TRACe:STATistics:PK2Pk? (on page 6-175)
:TRACe:STATistics:STDDev? (on page 6-175)
:TRACe:STATistics:CLEar
This command clears the statistical information associated with the specified buffer.
Type Affected by Where saved Default value
Command only Not applicable Not applicable Not applicable
Usage
:TRACe:STATistics:CLEar
:TRACe:STATistics:CLEar "<bufferName>"
The name of the reading buffer, which may be a default buffer
(defbuffer1 or defbuffer2) or a user-defined buffer; if no buffer is
defined, clears the statistics from defbuffer1
Details
This command clears the statistics without clearing the readings.