06-17-2010 04:16 AM
average of real time data coming in every 1min basis.
suppose in 1min if 100 value come then avg of that.
so data comes in every 1minute , i have to average that values and save in database or text file
06-17-2010 04:41 AM
06-17-2010 07:48 AM
If you know how many "values" you have, just add your values together and divide by the number of values. (If you're putting values into an array, you can use the Array Size function to get the number of values in your array)
Another option is to use the Mean function. This function can take an array of values and give you the mean. (Very handy averaging on noisy DAQ channels)
06-17-2010 11:41 PM
Ok
So i have to check that in 1minute how much data comes and according to that i have to take average of that data.
right
06-17-2010 11:45 PM
Why don't you use the elapsed time function? Read the help on it, put it on a block diagram, experiment, learn how it works.