LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

averaging data at multiple intervals

Hello, I am pretty new to labview but have written a program where I am combining RS-232 input with analog inputs.  My real problem is that in a couple of the analog inputs, my scale is very large and thus slight noise is making large jumps.  I really need a program where I can do a lot of averaging but would like to know if there is a way I can easily change the number of points I would like to average for each output.  I am really hoping to find a VI where I could change a constant and alter the number of points averaged.  Anyone know of a good method for doing this??  I will be doing this for approximately 11 inputs.

thanks.
0 Kudos
Message 1 of 2
(2,627 Views)
If you go to your Function Pallete > Singal Processing > Waveform Measurement, there is a large number of VIs that will avg, mean, RMS, etc.  I attached a screenshot of a VI that I did, which averages 11 sata points off an analog input.  You could change the 11 (in the middle of the screen) to a control and vary the number of iterations of the loop, ie the number of points that you avg.  you can repeat this process any number of times for each input or all the inputs.

Kenny
Kenny

0 Kudos
Message 2 of 2
(2,616 Views)