LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rolling average of DAQ output (every 10 values at 1kHz)

Solved!
Go to solution

Hi All,

 

whilst this may seem like a simple issue I can't seem to find an easy way of going about solving it. I am continuously reading voltage through DAQ assist at a sample rate of 1kHz (and setting my buffer size with a sample size of 10k), of course giving me 1000 readings a second. I need this, but I also need to take a rolling average of every 10 values (giving me 100 averages a second). If I just mean the DAQ output I get an average every 10 seconds which is to be expected given that I'm sampling 10000 times at 1000Hz, although I need average to be of every 10 values. 

 

Any solutions I'm missing?

 

Thanks in advance.

0 Kudos
Message 1 of 3
(3,003 Views)
Solution
Accepted by topic author SteveR_

Hi SteveR,

 

Any solutions I'm missing?

Yes, sure!

Use Point-By-Point-Mean in a loop…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,990 Views)

Figured I was just having a moment... thanks haha.

0 Kudos
Message 3 of 3
(2,985 Views)