I am trying to run a batch file repetitively in a loop. The batch file uses other text files. The first time the batch is executed (using Exec in LabVIEW 5.1) it works fine, but in subsequent loops I get the following error message.
The process cannot access the file because it is being used by another process.
Suggesting that the files read within the Batch file have not been closed within the batch file? What can I do to make this batch file run every loop?
If the program is simply stopped and restarted then again the first iteration is fine. Is this an inherent problem with Exec?