
0
Keeping track of max time of activity per hour
I have a task to keep track of the time a machine runs at an increased speed which is allowed 5 min/hour in total. Time at overspeed is added to a counter but I also need to handle the fact that overspeed that happened an hour ago needs to be subtracted. Has anyone had a task like that and found out a good solution?
/Lars
Customer support service by UserEcho
One way to approach it could be to think of it in a similar way as a moving average filter. Accumulate time in a limited number of slots in an array, and check the total of those slots.
Here is an example of how you could implement it in IQANdesign:
overspeed.idsx