FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control the time the channels collecting data and output the average so that I can get rid of noise

I use a while loop and collect data every 1000 ms time delay.
 
I don't know whether the channels output data of one time point or an average of short period. Since the analog signals may have flutuations, I want the channels output average data of a short period. And I want to control the time the channels collecting data.
 
My ultimate goal is to get rid of the noise.
0 Kudos
Message 1 of 2
(2,963 Views)
I think you have to do it manually: collect samples more often, store them in a buffer (or better a ring buffer, where older samples are replaced by newer ones), then calculate their average every 1000ms.
0 Kudos
Message 2 of 2
(2,907 Views)