AvgSpa

This function returns the average of the specified values.

Syntax

AvgSpa ( value_1, value_2, …., value_n )

Remarks

The value parameters specify the data values for which the average is to be calculated. This function will accept a variable number of arguments. Any value that evaluates to –INF, INF, or NAN will be ignored. If no valid values have been considered, this function will return NAN.

Example

The following example will return the average value of the variables Temp _1, Temp _2, and Temp_3:

AvgSpa("Server:CR1000.Hourly.Temp_1","Server:CR1000.Hourly.Temp_2", "Server:CR1000.Hourly.Temp_3")