MaxSpa

This function returns the maximum of the specified values.

Syntax

MaxSpa ( value_1, value_2, …., value_n )

Remarks

The value parameters specify the data values for which the maximum 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 maximum value of the variables Temp _1, Temp _2, and Temp_3:

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