LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx bug?

Solved!
Go to solution

 


 

 

Searching the LabVIEW Help for "Task Creation and Destruction" (without the quotes) will turn up a page that explains when LabVIEW automatically cleans up DAQmx tasks.

 

DAQ Assistant express VIs rely on auto-cleanup, but they don't leak thousands of tasks because they use a LV2-style global to reuse the same task for each call. To see exactly what an express VI is doing behind the scenes, right-click on it and select "Open Front Panel" from the context menu. This converts it to a normal VI, and then you can look at the block diagram.


 

 

 

Thanks so much Brad.. I think this gives me a very clear picture..really thanks a lot both of you.. 

 

 

Searching the LabVIEW Help for "Task Creation and Destruction" (without the quotes) will turn up a page that explains when LabVIEW automatically cleans up DAQmx tasks.

 

DAQ Assistant express VIs rely on auto-cleanup, but they don't leak thousands of tasks because they use a LV2-style global to reuse the same task for each call. To see exactly what an express VI is doing behind the scenes, right-click on it and select "Open Front Panel" from the context menu. This converts it to a normal VI, and then you can look at the block diagram.


 

0 Kudos
Message 11 of 11
(485 Views)