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.