LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it more efficient to load a DAQmx Task from MAX or Create it whenever it is needed?

Is it more efficient to load a DAQmx Task from MAX or Create it whenever it is needed?
0 Kudos
Message 1 of 2
(2,878 Views)

telsenbroich,

I tested and compared a VI which was loading the task from MAX (VI #1) and another VI which created the channel and configured the timing within LabVIEW (VI #2).  The testing consisted of timing the VI from start to finish in which VI #1 took an average of  114ms and VI #2 took an average of 110ms.  The time needed to retrieve the task from MAX is causing this apparent delay.  Creating the task in LabVIEW seems to be most the efficient method, though.

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