17-40 SCPI Command Reference
CALCulate3 Provides statistical data on buffer readings
Select statistic
:FORMat <name>
:CALCulate3:FORMat <name> Specify CALC3 format
Parameters <name> = MEAN Mean value of readings in buffer
SDEViation Standard deviation of readings in buffer
MAXimum Largest reading in buffer
MINimum Lowest reading in buffer
PKPK MAXimum - MINimum
Query :FORMat? Query programmed math format
Description This command is used to select the desired statistic on readings stored in the
buffer. See Section 8 for details on these statistics.
Readings stored in the buffer can be “raw” measured readings, the results of
the CALC1 calculation, or CALC2 readings. The :TRACe:FEED command
in the :TRACe Subsystem is used to select the type of readings to store.
Acquire statistic
:DATA?
:CALCulate3:DATA? Read CALC3 result
Description This query command is used to perform the selected statistic operation and
read the result(s). The result(s) is always returned in ASCII format.
If the buffer is configured to store “raw” measured readings (:TRACe:FEED
SENSe1) and multiple functions were measured, the selected statistic opera-
tion will be performed on all the measured readings. For example, if voltage
and current measurements were stored in the buffer, then the selected statis-
tic operation will be performed on both readings. Statistics for multiple
measurement functions are returned in the following order:
voltage statistic, current statistic, resistance statistic
Statistic operations are not performed on TIME and STATus data elements
that are stored in the buffer.
If the buffer is configured to store the result of CALC1 or CALC2
(:TRACe:FEED CALC1 or CALC2), only one result will be returned by
this query command.
Notes:
1. If there is no data in the buffer, the NAN (not a number) value +9.91e37
will be returned.