129
8.6 Message Reference
No. of samples to average
Syntax
Command
Query
Response
:CALCulate:AVERage <Averaging Samples>
:CALCulate:AVERage?
<Averaging samples>
<Averaging samples> = 2 to 100 (NR1)
Example
Command
:CALC:AVER 10
Query
Response
:CALC:AVER?
50
Clear and Query the Statistical Calculation State
Statistical Calculation State
Syntax
Command
Query
Response
:CALCulate:STATistics:STATe <1, 0, ON or OFF>
:CALCulate:STATistics:STATe?
<ON or OFF>
Example
Command
:CALC:STAT:STAT ON
Query
Response
:CALC:STAT:STAT?
ON
Clear Statistical Calculation Results
Syntax
Command
:CALCulate:STATistics:CLEAr
Queries the data count
Syntax
Query
Response
:CALCulate:STATistics:NUMBer?
<Total data count (NR1)>,<Valid data count (NR1)>)
0 to 30000
Example
Query
Response
:CALC:STAT:NUMB?
23456,23449
Query the Mean value
Syntax
Query
Response
:CALCulate:STATistics:MEAN?
<Mean (NR3)>
Query the Maximum value
Syntax
Query
Response
:CALCulate:STATistics:MAXimum?
<Maximum value (NR3)>,<Data No. of Maximum value (NR1)>
Example
Query
Response
:CALC:STAT:MAX?
12.4859E+3,1124