Fluke PM6681 CALCulate AVERage TYPE, CALCulate DATA?, Statistical Type, Fetch calculated data

Models: PM6685 PM6685R PM6681 PM6681R

1 276
Download 276 pages 1.51 Kb
Page 145
Image 145
:CALCulate :AVERage :TYPE

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 manual CALCulate AVERage TYPE, CALCulate DATA?, Statistical Type, Fetch calculated data, Command Reference