6-4 Buffer and Sweeps Model 6487 Reference Manual
Buffer statistics
• MIN and MAX provides the minimum and maximum readings stored in the buffer.
It also indicates the buffer location of these readings.
• The PK-PK (peak-to-peak) value is the difference between the maximum and
minimum readings stored in the buffer:
PK-PK = MAX - MIN
• Average is the mean of the buffer readings. Mean is calculated as follows:
Where: X
i
is a stored reading
n is the number of stored readings
• The STD DEV value is the standard deviation of the buffered readings. Standard
deviation is calculated as follows:
Where: X
i
is a stored reading
n is the number of stored readings
Avg is the mean of the buffer readings
klqb If any readings stored in the buffer are the result of an overflow or overvoltage
condition, the buffer statistics calculation will not be performed. Buffer recall
via front panel operation will show a series of dashes in place of the requested
buffer statistics value. In remote operation, the corresponding buffer statistics
will be represented by the value +9.91e37.
SCPI programming
Commands associated with buffer operation are listed in Table 6-1. The TRACe com-
mands are used to store and recall readings in the buffer. The FORMat:ELEMents com-
mand is used to specify which data elements to include in the response message for
TRACe:DATA? (which is the command to read the buffer). The CALCulate3 commands
are used to obtain statistics from the buffer data.
y
n
Σ
Avg X
i
–()
2
i1=
n1–
------------------------------------=