Ath Posted February 13, 2006 Report Share Posted February 13, 2006 Hello. Perhaps some one could help me with this... I am acquiring data from my devices and I need to average them. I have tried using the "mean" function in a "while" or "for" loop but, as it turns out this results into driving in my graph only th LAST value of the signal I acquire. I believe I should put a buffer and store all my values (for instance 1000 samples or, preferably user-defined samples) and then use all these values to get the mean (and then send it to a file or a plot). Since I am really inexperienced in both labview as well as any other programm language could someone plz help me a bit about how could that be implemented in labview??? thx in advance, that would be a great help for my master thesis!!!! Quote Link to comment
WMassey Posted February 13, 2006 Report Share Posted February 13, 2006 There are several ways to setup a sliding average. The attached VI shows a couple of them. Download File:post-2800-1139850946.vi Quote Link to comment
Ath Posted February 14, 2006 Author Report Share Posted February 14, 2006 Really thx!!!! I think I got the general idea.... THX!!!! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.