IEEE-488 Reference
4-66
MEAN: This math format calculates the mean value for all the readings stored in the buffer.
Mean (y) is calculated as follows:
where: X
i
is a stored reading, and
n is the number of stored readings.
SDEV: This math format calculates the standard deviation for all the readings stored in the buff-
er. Standard deviation (y) is calculated as follows:
where: X
i
is a stored reading, and
n is the number of stored readings.
MAX: This math format is used to determine the largest reading that is stored in the buffer.
MIN: This math format is used to determine the lowest reading that is stored in the buffer.
PKPK: This math format is used to determine the peak to peak value for the readings stored in
the buffer. The peak to peak value is calculated as follows:
PKPK = MAX - MIN
where; MAX is that largest reading in the buffer
MIN is the lowest reading in the buffer
Programming example 10 OUTPUT 716; “:calc2:form max; form?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Two commands in this program message; the first selects the MAX math format, and
the second queries the programmed format.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays the programmed math format for CALC 2 (MAX).
:STATe <b>
:CALCulate2:STATe <b> Control CALC 2
Parameters <b> = 0 or OFF Disable CALC 2 calculation
= 1 or ON Enable CALC 2 calculation
y
X
i
i1=
n
∑
n
---------------=
X
i
2
-
1
n
---
X
i
i=1
n
∑
2
i=1
n
∑
n-1
---------------------------------------------------
y
=