DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

DASYLab Rolling Average Module

Solved!
Go to solution

Hi all, 

 

I have an interesting problem I'm trying to figure out. 

 

We're doing a study on incinerators to emulate commercial sized processes and they use a rolling average to keep track of their emissions. I am trying to set up our constant emission monitoring systems to auto calculate the rolling average per hour which I thought was the same as a moving average. My current setup (see screenshots below) is: 1 Hz inputs via modbus. I have modules for the full data collection and the average data is teed off after my scaling module.

 

kmbarnett96_1-1740673241225.png

 

The average module is set to "arithmetic mean" and "moving average" with an interval width of 360 (60s * 60m) since I need hourly averages. This is currently giving me 1 second data points in my write file which is odd since I set it to 360. 

 

kmbarnett96_2-1740673495727.png

 

kmbarnett96_3-1740676067026.png

 

 

The other problem is that our lead researcher has told me that the way these facilities calculate their rolling averages is to take the first 60 minutes of data and begin the average at data point # 61. From that point on, they want minute averages of all the past data points for the rest of the run. I know I can take averages from the start of the test but I need to wait to start the average until minute 60. It should be approximately 3 hours of run time. Is there a good way to do this? I've only used some of the mathematic modules so I'm not very familiar with their capabilities. Any help is much appreciated. 

 

Thanks! 

 

 

0 Kudos
Message 1 of 2
(245 Views)
Solution
Accepted by topic author kmbarnett96

Please post questions about the DASYLab software on the Digilent forum under Data Acquisition (DAQ) & Data Logging.

Please post DASYLab questions at https://forum.digilent.com/
Use the **Data Acquisition and data logging** section
Thank you,
Digilent


0 Kudos
Message 2 of 2
(217 Views)