{"id":3602,"date":"2019-02-12T16:09:28","date_gmt":"2019-02-12T16:09:28","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/19-variables-and-computations\/em_ave\/"},"modified":"2026-05-22T08:55:51","modified_gmt":"2026-05-22T13:55:51","slug":"em_ave","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/2-variables-and-computations\/em_ave\/","title":{"rendered":"em_ave"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>\n<p>Compute and print the mean, standard deviation, minimum, and maximum values for specified input variables over a given sampling interval.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>em_ave <\/strong>&lt;variable1&gt; [variable2 \u2026]\u00a0 [sampling_interval] [+csv]\u00a0<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 98.1707%; height: 72px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 21.3042%; height: 24px;\">variable 1 variable 2\u2026<\/td>\n<td style=\"width: 324.373%; height: 24px;\">Specify input variables names to sample. At least one name is required.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 21.3042%; height: 24px;\">sampling_interval<\/td>\n<td style=\"width: 324.373%; height: 24px;\">Optional. Specify the time in seconds for sampling. The default is 5 seconds.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 21.3042%; height: 24px;\">+csv<\/td>\n<td style=\"width: 324.373%; height: 24px;\">Optional. Specify +csv to enable csv output and enable data transfer to spreadsheets.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>em_ave<\/strong> my_var1 my_var2 30<br \/>\nSample these 2 variables at the FAS rate for 30 seconds and <br \/>\nprint the statistics (mean, std_dev, min, max).<\/p>\n<p><strong>em_ave<\/strong> +csv my_var1 my_var2 15<br \/>\nSample these 2 variables at the FAS rate for 15 seconds and <br \/>\nprint the statistics (mean, std_dev, min, max) using csv formatting.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Specified variables can only be of REAL or REAL ARRAY type.<\/p>\n<p>The program samples data at the fastest available rate and runs once per invocation until completion.<\/p>\n<p>Ensure variables are configured appropriately for meaningful results.<\/p>\n<p>A maximum of 8 variables may be specified.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/14-i-o-systems\/ai_specs\/\">ai_specs<\/a>, <a href=\"\/wp-content\/uploads\/CyFlex-Calibration-Tables-and-Utilities.pdf\">CyFlex Calibration Tables and Utilities<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Compute and print the mean, standard deviation, minimum, and maximum values for specified input variables over a given sampling interval. Enter: em_ave &lt;variable1&gt; [variable2 \u2026]\u00a0 [sampling_interval] [+csv]\u00a0 Where: variable 1 variable 2\u2026 Specify input variables names to sample. At least one name is required. sampling_interval Optional. Specify the time in seconds for sampling. The [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1966,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3602","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3602"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3602\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1966"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}