Trace:statistics:average - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
Example
TRACe:MAKE "testData", 100
SENSe:COUNt 5
MEASure:CURRent:DC? "testData", READ, REL, SOUR
TRACe:SAVE "/usb1/myData5.csv", "testData"
TRACe:CLEAr
MEASure:CURRent:DC?
TRACe:SAVE:APPend "/usb1/myData5.csv",
"defbuffer1"
MEASure:CURRent:DC? "testData"
TRACe:SAVE:APPend "/usb1/myData5.csv",
"testData", RAW, 6, 10
Also see
Reading buffers
Remote buffer operation
:TRACe:MAKE

:TRACe:STATistics:AVERage?

This command returns the average of all readings added to the buffer.
Type
Command only
Usage
:TRACe:STATistics:AVERage?
:TRACe:STATistics:AVERage? <bufferName>
<bufferName>
2450-901-01 Rev. B/September 2013
(on page 3-10)
(on page 3-27)
(on page 6-114)
Affected by
Recall settings
Instrument reset
Power cycle
A string that indicates the reading buffer; the default buffers
(defbuffer1 or defbuffer2) or the name of a user-defined buffer; if no
buffer is specified, this parameter defaults to defbuffer1
Section 6: SCPI command reference
Create a buffer called testData.
Take 5 readings, return for the 5th
point: the reading, relative timestamp,
and source value. Store the buffer data
in the myData5.csv file and return the
fifth reading.
Clear defbuffer1.
Take 5 readings, store them in
defbuffer1, and return the fifth
reading.
Append all the readings stored in
defbuffer1 to the myData5.csv file.
Take 5 more readings, store them in
testData, and return the fifth reading.
Append all the readings stored in
positions 6 through 10 testData to
the myData5.csv file using raw
timestamps.
Where saved
Not applicable
Default value
Not applicable
6-119

Advertisement

Table of Contents
loading

Table of Contents