Hi all,
I am coding a simple continous AI DAQmx vi at home using signals from the simulated device above (no real device at home, just getting the basic architecture right first). I am sampling 5 channels at 2k each. The data are sent to a consumer loop where samples are presented via a waveform chart.
The DAQ runs fine initially... The DAQmx read buffer contains between 0-50 samples per loop iteration when reading 200 samples... After about 30sec the number of samples in the buffer suddenly starts to climb (DAQmx read slows down OR data removal from the buffer slows down?) and reaches the 10k limit where a -200279 error appears after about 45-50sec.
Nothing changes during when DAQ. I hit the "start" button, let the DAQ read and plot the data, and wait.
The same happens if I increase the samples to read to 400, but after 60s and 110-120 sec.
I don't understand why everything is initially ok for the first 30 seconds before the samples in the buffer start to climb. I would have thought if there were a problem the tne sample rate and samples to read the samples in the buffer would accumulate as soon as the DAQ is started.
Would anyone know why this behaviour is occurring?
Thanks.