On a CR1000 I am trying to write code for a rolling average of readings (Temp) that would give me the average of the last X readings over Y time (intervals equal). FILO. The oldest reading would be dropped off in favor of the newest and then the X number of readings re-averaged. This would be different to averaging every X number of readings and then starting back to zero at the end of the time cycle. Is there such a capability?
Look at the AvgRun() instruction.
Don't know how I missed it, thank you.