On Thu, Feb 14, 2013 at 2:53 PM, <Rguercio@xxxxxxx> wrote: > I could also have done this in 3 or 4 lines in an IND block with 1440 1 > minute grabs or even 86400 1 second samples, updating continuously, but am > religious about following Alex's advice to avoid sequence code wherever > possible. Maybe this should be the exception. > > I have done 1 hr, 4 hr, 24 hr and even 30-day rolling averages this way. > Not proud of it, but if you use enough blocks, there is a way. If you want to get the block count down, you might try an experiment with running those inputs through AINs with the filtering options turned on. Then compare your 1hr, 4hr, and even 24hr (using appropriate filter times) to see how they stack up. I've done that in the past and for running averages that didn't need to be exact, this worked well. The 30 day one would be suspect probably. -- Jeremy Milum _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave