09-23-2009 11:02 AM
Hallo everyone!
I need to put "DAQmx start task" inside a loop as shown in the attachd picture. The problem is that while it is running, if I do some UI action, for instance click on the front panel, open a menu, etc..it happen that DAQmx start waits until the UI action has finished (I close the menu, etc..). What may be the cause? What is it waiting for? Is it a problem of functions runningin the same thread?
Thank you
diego
09-23-2009 11:59 AM - edited 09-23-2009 12:03 PM
First off, try not stopping the task through every iteration. That Read VI will try to restart the task every time, and that can take a while.
Also, your loop doesn't have a latency delay. And as you probably know, your data indicators are not wired .