01-23-2008 04:01 PM
01-24-2008 03:23 PM
Hi JMIS.
Welcome to the discussion forums.
I realize that you are using someone else’s code, however can you confirm that you are following the proper DAQ programming style. Create, configure, start, acquire, and clear. Browse the examples and ensure that you are following something similar in the acquisition portion of your code.
From the sounds of where the error is occurring (at the Start Task VI) it sounds like there are multiple DAQ tasks being created. Ensure that each is cleared, not just stopped every iteration. If you are creating and clearing tasks, then maybe redesigning the method you are acquiring the data might solve the error. For instance, you could create a single task and design it to run the length of the acquisition rather than starting and stopping a simpler task.
Let me know how your Start Task VI test is going. Are you running into the same error after prolonged use?
Have a great day
Chris_K
02-08-2008 03:15 PM