Remote Commands
Alphabetical List of 5790B Device-Dependent Commands 6
6-69
STATS?
Returns the statistics.
Parameters
None
Response (comma separated list)
1. (String) Current state of stats measurement (OFF, RUN, DONE, or
PAUSE)
2. (Integer) Number of samples taken
3. (Real) Minimum value measured
4. (Real) Average/mean value measured
5. (Real) Maximum value measured
6. (Real) Standard deviation of samples
7. (String) Unit for standard deviation calculation (V, PPM, or COUNT). See
STATUNIT for more information.
8. (Integer) Sample window size. See STATS_COUNT for more information.
Example
STATS?
DONE,20,0.0931817,0.0931919,0.0932436,0.00001772,V,20
If the one of the measurement is over range (for example, exceeding the
range lock boundary), the response will be:
INVALID,0,0.0,0.0,0.0,0.0,V,20
When STATUNIT is set to COUNT, the standard deviation is the number of
counts of the least significant digit in the measurement.
STATUNIT
Sets the unit for sigma in statistics
Parameter
V, PPM, or COUNTS
Example
STATUNIT PPM
Sets the standard deviation unit to ppm.
STATUNIT?
Returns the unit for sigma and span in statistics
Parameter
None
Example
STATUNIT?
V
The unit for standard deviation calculation is Volts (V)