LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run a loop, collect the data then run again N times and plot the avearge of the data from the N iterations

Hi
 
A few little problems as I continue to learn Lab-view.
 
I want to run a loop, collect the array of data, then run the loop again another N times and plot the average of all the iterations (this would be the eqivalent of averaging a number of scans.  I want save this averaged data to reduce the amount of data being stored on my hard-drive and of course allow my v.i to run as fast as possible.
 
Does anybody know of some short-cut code for this?
 
Many Thanks
 
Ashley
0 Kudos
Message 1 of 4
(2,743 Views)

Hello Ashley,

If you are using LabVIEW 7.0 or higher you can use the "Statistics" Express VI to do this all in one easy to configure VI.  If you are concerned about keeping a running average as you go to reduce time it’s a little different.  So I guess this depends on what you mean by finding a "short-cut" for this.

Thanks for posing, and let us know if you have any other questions.



Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 2 of 4
(2,742 Views)

Thanks Travis M,

I continue to learn!

0 Kudos
Message 3 of 4
(2,726 Views)
Ashley, I've gone through all your posts. I liked the way you are learning the LabVIEW. I guess, you are no vice to LabVIEW now. Good Luck!
0 Kudos
Message 4 of 4
(2,659 Views)