Hi,
I'm using daqmx in c# and I want to perform some data processing tasks for example calcualting the Z-Score (also called z-values, z-scores, normal scores, and standardized variables) of every N (can be less or than or more than number of samples acquired in one iteration) samples acquired. This requires sometime for the CPU to calcualte these tasks but it has to finish it before the next samples comein. What is the best way to do this without missing data? Should I copy the data to another buffer array and then perform the tasks in a seperate thread so that even if the cpu is a little late, it still has the data from the previous acquisition?
Please help me out here.
Thanks.