6 53210A Math, Graphing, and Data Logging
160 Keysight 53210A User’s Guide
CALCulate[1]:AVERage:MINimum?
– returns the minimum value of all readings in the current reading count.
CALCulate[1]:AVERage:MAXimum?
– returns the maximum value of all readings in the current reading count.
CALCulate[1]:AVERage:PTPeak?
– returns the average peak-to-peak value (average maximum value - average
minimum value) of all readings in the reading count.
Example: Computing Individual Statistics
The following example shows these reading parameters queried individually.
CONF:PER (@1) // configure period measurement
TRIG:COUN 2 // trigger count = 2
SAMP:COUN 100 // 100 rdgs per trigger
SENS:FREQ:GATE:TIME 10e-3 // 10 ms gate time
CALC:STAT ON // enable CALCulate1 subsystem
CALC:AVER:STAT ON // enable statistics
INIT // initiate the measurements
*WAI // wait for all rdgs to complete
CALC:AVER:MIN? // query individual parameters
CALC:AVER:MAX?
CALC:AVER:AVER?
CALC:AVER:PTP?
Standard Deviation
Standard deviation is available with both counters using the command:
CALCulate[1]:AVERage:SDEViation?
The CALCulate1 subsystem and statistics must also be enabled before the
standard deviation can be determined.