01-06-2009 02:44 PM
01-06-2009 03:00 PM
If I read your code correctly, you are creating, configuring, starting, acquiring, stopping and clearing multiple DAQmx tasks 10 times a second.
Each time you create.... a new DAQmx task, the required resources (memory buffers to store the data) are set aside to do the acq. These resources are not released by LV until you exit LV.
So you can avoid repeatedly allocating new resources by butting all of your "create - start" before the loop and only do acquisition tasks INSIDE the loop. Similarly move the stop and close to to after the loop.
Ben
01-07-2009 04:06 PM
Hello Ben
Thank you, I dont understand you very well, so, could you help me, making the changes in my vi? please,
See you
Thanks
01-08-2009 10:20 AM
01-08-2009 11:14 AM