Counts the maximum number of times any value is repeated within a specified interval. This is often used to detect if a sensor is stuck sending the same repeating data.
MaxRepeat will return the value associated with the maximum count.
Defines the time series data fed into the function. This can be a sensor ID or another function.
Number of data intervals considered in the function
Values are rounded to the specified decimal. For example, "0" rounds to the nearest whole number, while "1" rounds to the tenths digit.
*Input data is optional in most cases. If Info360 detects that the first input is time series data, it will be applied to the function. Otherwise, the current active sensor's data will be used, which is often the case in Reference Charts.
Example Usage as an Expression:
CountRepeat(24,1): Outputs the maximum count that a value rounded to the tenths digit is repeated in the previous 24 sampled data points.
Example Reference Chart:
The following chart shows CountRepeat(96,3) being used to indicate how long a pump station has been off for. Since it is using 15 minute data, 96 represents 24 hours. Whenever the CountRepeat gets up to 96, the station has been not flowing for at least 24 hours.
For information on setting up custom equations and syntax, please refer to Analytical Functions.