Hello,
I am wondering if anybody can shed the light on proper way to smooth the data collected from an analog input. I am collecting a channel with 100 Samples to Read and at a rate of 1000 Hz. My intention is to average the 100 samples and treat the average as one data point of one iteration of my While loop. The next time of my While loop executes, it averages another 100 samples, and treat the average as one data point, and so on.
The way I'm doing it now is as follows:
DAQ Express VI ----> Collector (from Signal Manipulation pallette) ------> Statistics (Arithmetic Means from Signal Analysis pallette)
----> Convert from DDT to 1-D array of waveforms.
But in doing so, I loose the time information of my waveforms, i.e. the data coming out from "Convert from DDT to 1-D array of waveforms" is always one data point with t=0 for each iteration of my While loop. The t value is always 0. This is not my original intention. All I want is to smooth the data from my data collection by averaging the sampled data and preserve the time stamp. How can I achieve this? Thanks for any pointers.