LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Start Task VI ISSUE

Hi all,

I met an issue with DAQmx Start Task VI. After I run the VI I got a message to say that NI Platform Services: The specified resource is reserved. I searched on the NI website, it seems to be a very common issue. So I rerun the VI under the "Highlight Execution" being selected. And I noticed an error came out from the DAQmx Start Task VI after the second loop. So I delete this DAQmx Start Task VI, and the program run correctly. I checked a built-in example "Voltage - Continuous Input" and the DAQmx Start Task VI is in that example. I read the description from LABVIEW HELP. But I still didn't get what on earth this DAQmx Start Task VI's function is. So anyone can give some tips? Thanks  

Download All
0 Kudos
Message 1 of 2
(2,359 Views)
Typically, the only thing inside the loop is the DAQmx Read - just like the examples. It is not efficient to do all of the configuration inside the loop and if you did do that, you would have to stop and then clear the task in the loop. You can only have one task running at one time and even if you don't change any parameters, the driver still thinks you are trying to start a new one because the task created by the loop in the first iteration has not been stopped.
0 Kudos
Message 2 of 2
(2,351 Views)