LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query: Application Builder ?

Hi All:

I am trying to create a stand-alone application (application.exe) using my VIs on LabVIEW 7.0. My VI (Example: C:\Demo.vi) calls an external application (C:\Example.exe) and runs it using System Exec.vi. So I give the path using the VIs current path, then strip it and build it to generate the path of C:\Example.vi and it works fine. But when I create my stand-alone application it doesn't work. The reason is the VIs current path gives an error. Looks like the VI resides inside the application.exe (C:\application.exe\Demo.vi). Is there any special way that I need to build my application. Thanks !

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 2
(2,237 Views)
You've built it correctly but you should add to code to your app so that you can detect whether it's in development mode or run-time. The way I prefer to do it is with a property node and the App.Kind property. If it returns Run Time System, do an extra strip path.
Message 2 of 2
(2,228 Views)