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 …] [sampling_interval] [+csv]
Where:
-
variable 1 variable 2… Specify input variables names to sample. At least one name is required. sampling_interval Optional. Specify the time in seconds for sampling. The default is 5 seconds. +csv Optional. Specify +csv to enable csv output and enable data transfer to spreadsheets.
Example:
-
em_ave my_var1 my_var2 30
Sample these 2 variables at the FAS rate for 30 seconds and
print the statistics (mean, 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 (mean, std_dev, min, max) using csv formatting.
Notes:
-
Specified variables can only be of REAL or REAL ARRAY type.
The program samples data at the fastest available rate and runs once per invocation until completion.
Ensure variables are configured appropriately for meaningful results.
A maximum of 8 variables may be specified.