07-27-2005 02:59 AM
07-27-2005 03:30 AM
07-27-2005 03:34 AM
Hi,
There are several ways to do an average.
There is a function in analyse - mathematics - probability and statistics - mean.vi that averages an array of values.
You could also add all the 10 values and then divide by 10.
Take a look at the attached vi,
Hope it helps,
Paulo
07-27-2005 03:39 AM
07-27-2005 04:39 AM
07-27-2005 04:42 AM
07-27-2005 04:57 AM
07-27-2005 06:26 AM
Gerd,
I tried to display the values in a table as in the attached file. Do you have any idea why I get a value for only the first one?There should be a value for each sapling point before averaging.
Next thing is, my original signal is from a while loop, where each iteration of the while loop, I can send a block of samples (say 100) to this vi. So, I need to get series of average values (one each for each 100 samples) and save them in another array.
Can you help me please?
Thanks,
Ravi.
07-27-2005 06:50 AM
07-27-2005 08:30 AM
Hi Gerd,
That helped me lot! I learned so much from your answers.
Thanks a lot again!
Ravi.