Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

200279

Hello, i want to adquire data continuously and I have a very important proble. I get error 200279. I have increase number of samples to read, decrease sample rate and increase the buffer size, but i haven't results. I have notice that use of CPU increases continuously, and this is the reason of error 200279,what can I do? I want my vi run a lot of time, and i don't know how solve this. Help me please.
Luz 
0 Kudos
Message 1 of 2
(2,265 Views)
 

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

0 Kudos
Message 2 of 2
(2,251 Views)