LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't launch an external .exe in my built application but it works when running the VI

Hi, I am trying to launch an external non labview .exe from my labview code and I am having the problem that it works when I am running the VI but once I build an .exe out of my VI I can no longer open this external application. I cant share the rest of my code but my call to start the application is very simple and looks like this. I have tried looking at the error out and the standard output but I am no outputs or errors. Also, it seems to stop the top-level vi when this system exec VI gets called.

 

Asasafuchi_0-1750315417841.png

 

0 Kudos
Message 1 of 3
(224 Views)

Try this. Also, wait until completion should generally be false. If not, the function blocks until the .exe stops.

Basjong53_0-1750317620927.png

 

 

 

0 Kudos
Message 2 of 3
(210 Views)

Thanks for the suggestion, it appears like I had the wrong subvi setup which was causing the issue. 

0 Kudos
Message 3 of 3
(187 Views)