em_ave

Purpose:

Compute and print the mean, standard deviation, minimum, and maximum values for specified input variables over a given sampling interval.

Enter:

em_ave <variable1> [<variable2> …]  <sample time in sec> [+csv] 

Where:

variable 1 variable 2… Specify input variables names to sample. At least one name is required.
sample time in sec Specify the duration of the evaluation in seconds.
+csv Optional. Specify +csv to enable csv output.

Example:

em_ave my_var1 my_var2 30
Sample these 2 variables at the FAS rate for 30 seconds and print the
statistics (ave, std_dev, min, max).

em_ave +csv my_var1 my_var2 15
Sample these 2 variables at the FAS rate for 15 seconds and print the
statistics (ave, std_dev, min, max) using csv formatting.

Notes:

Reports mean, standard deviation, minimum, maximum, and range of analog
input channels in millivolts.

This process runs repetitively until cancelled with a Ctrl-C. The data is
sampled at the fastest rate supported by continuous analog input, normally
20 Hz.

For the data to be meaningful, the channels should all be specified to have
the “FAS” rate and should have 0.0 for the filter constant.

See Also:

ai_specs, CyFlex Calibration Tables and Utilities