9.7 Message Reference
130
(4) Calculation
Clear and Query the Statistical Calculation State
• A data sample can be taken by the following methods:
1. Press the F4 [MANU] key on the [MENU]-[TRG] selection screen (p. 70)
2. Apply a TRIG
signal to the external I/O connector.
3. Send a
TRG command.
•The
:CALCulate:STATistics:STATe command does not clear calculation results.
• When the valid data count is 0, n-1 returns 0.
• When cleared, the Statistical Calculation function is not turned OFF.
• The upper limit of Cp and CpK is 99.99. If Cp or CpK exceeds 99.99, the value 99.99 is returned.
Statistical Calculation Execution State
Syntax
Command
:CALCulate:STATistics:STATe <1/ 0/ ON/ OFF>
Query
Response
:CALCulate:STATistics:STATe?
<ON/ OFF>
Example
:CALC:STAT:STAT ON
: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)>
Data count = 0 to 30000
Example
: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
:CALC:STAT:MAX?
12.4859E+3,1124
Query the Minimum value
Syntax
Query
Response
:CALCulate:STATistics:MINimum?
<Minimum value (NR3)>,<Data No. of Minimum value (NR1)>