05-15-2006 03:40 AM
05-16-2006 02:25 AM - last edited on 12-29-2016 07:19 AM by Matt_McLaughlin
Luz,
The error -200279 is an overwritten error of the buffer reserved for the analog input and the possible workaround is what you have tried ( increase the number of samples to read...... ). There is a KB about this: http://digital.ni.com/public.nsf/allkb/AB7D4CA85967804586257380006F0E62
So the problem is that your application doesn't retrieve the data from the buffer fast enough, so that the data is overwritten. The cause could be that the CPU use is increasing continuosly and it doesn't have time to attend to the LabVIEW program. But you have to find what is causing this. It could be your LabVIEW program or maybe any other processes in the system. You can check this into the task manager, in the Processes tab. There is a CPU column and you can click on it to order the processes.
If it was your LabVIEW program that is causing the CPU use increases, you will have to debug it and try to find what part of your code is doing that. There is an example included in LabVIEW called Cont Acq&Graph Voltage-Int Clik that does a continuous buffered acquisition. You could run the VI and test the task manager. If this example also increase the CPU use, then be sured you are using the latest NI-DAQ version. If not, then it is a problem of your code and you have to find out what part of code it is doing that.
I hope this helps.
crisR