LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to build an app from command line with LabVIEW 7

Is it possible to build an app from command line with AppBuilder of LabVIEW 7
LabVIEW ChampionArchitect
0 Kudos
Message 1 of 4
(3,141 Views)
If you are looking for automating LabVIEW build executables, the answer is yes. There is a VI in ..\LabVIEW 7.0\project\prodisttool.llb\_Build Application From Script.vi.

You can provide your build script (*.bld) to this VI, and it will get all the settings from scipt and build the application for you. If you compile this VI into exe and pass the path to your script at command line, you should be able to do that pretty easily.

AR
Message 2 of 4
(3,141 Views)
There are two reasons why this can't work as explained:
1- A built application can't build an application because VIs have to be edi¬ted, compiled and saved in the building process. Either operation can't be done in Run-Time Engine.
2- "_Build Application from Script.vi" can't be built into an application since it uses VIs that are loaded in memory by the Application Builder.

However, one can build an application that reads the script file from the command line and invoke LabVIEW (development) with VI Server to Call "_Build Application from Script.vi" with the script file parameter.

That is a great step forward that we have now natively in LabVIEW what was the core of the OpenG Application Builder (not to blow my own trumpet, of course...¦
¬)


LabVIEW, C'est LabVIEW

0 Kudos
Message 3 of 4
(3,141 Views)
I have started a thread on the LAVA Discussion Forum, which shows an example that highlights the method Jean-Pierre describes. The thread is located HERE.

Cheers,

Jim
Message 4 of 4
(3,141 Views)