LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daq mx start task stucks when UI action

 

 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

0 Kudos
Message 1 of 2
(2,381 Views)

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 Smiley Wink.

Message Edited by Broken Arrow on 09-23-2009 12:03 PM
Richard






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