PM6680B PM6681

:CALCulate :AVERage :TYPE

￿«MAXMINMEANSDEViation»

Statistical Type

Selects the statistical function to be performed.

￿You must use :CALC:DATA? to read the result of statistical operations. :READ?, :FETC? will only send the results that the statistical operation is based on.

Parameters:

MAX returns the maximum value of all samples taken under :CALC:AVER control.

MIN returns the minimum value of all samples taken under :CALC:AVER control.

 

 

 

 

 

 

 

1

 

n

 

MEAN returns the mean value of the samples taken:

 

￿

 

￿ Xi

 

x

 

 

 

 

 

 

 

 

 

n

 

i ￿1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 ￿

2

 

 

1

2 ￿

SDEV Returns the standard deviation: s ￿

n ￿ 1￿￿

￿ Xi

￿

 

 

￿ ￿ Xi ￿

￿￿

n

Returned format:

MAXMINMEANSDEV￿

 

 

 

 

 

 

 

 

 

 

*RST condition:

MEAN

 

 

 

 

 

 

 

 

 

 

 

:CALCulate :DATA?

PM6680B/81/85

Fetch calculated data

Fetches data calculated in the post processing block. Use this command to fetch the calculated result without making a new measurement.

Returned Format:

<Decimal data>￿

Example for PM6685:

SEND￿ :CALC:MATH:STAT ￿ ON;:CALC:MATH ￿ (X ￿ - ￿ 10.7E6);:INIT; *OPC

Wait for operation complete

SEND￿ :CALC:DATA?

READ￿ <Measurement ￿ result ￿ minus ￿ 10.7E6>

Example for PM6680B/81

SEND￿ :CALC:MATH:STAT￿ON;:CALC:MATH￿(((1￿*￿X)￿-￿10.7E6)￿/￿1) ;:init; *OPC

Wait for operation complete

SEND￿ :CALC:DATA?

READ￿ <Measurement ￿ result ￿ minus ￿ 10.7E6>

*RST condition:

Event, no *RST condition.

Complies to standards:

SCPI 1991.0, Confirmed

Command Reference 9-15

Page 145
Image 145
Fluke PM6681R, PM6685R manual CALCulate AVERage Type, Statistical Type, Fetch calculated data, Send CALCDATA?