03-09-2022 09:10 AM
I want to continuously read from two channels, do some calculations to change settings of an output channel and repeat that in a loop. But I only want to use the latest N samples measured with a DAQ card (6111 or 6346). As the reading plus calculation tends to be slower than the hardware aquisiton, I risk filling up the buffer (and also getting an increasing time lag). Ho can I create a loop, that reads only the latest samples of two channels without having to care about filling up any buffer?
Solved! Go to Solution.
03-09-2022 10:54 AM
Here's a snippet that illustrates how to set that up, along with several explanatory comments.
-Kevin P
03-09-2022 11:36 AM
Thanks, that's exactly what I was looking for.