Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Building Project

Hello Everyone !

I am using Labview 8 on opensuse 10.2.

There is a VI @ /usr/local/lv80/vi.lib/AppBuilder/BuildTargetBuildSpecification.

The issue I am having is that when I run the above VI without compiling then I can Build any project by supplying the path of the project file. However when I convert the above VI to an executable then I get an error 1.

Has anyone faced this issue before and is there some solution for it.

Thanks

Regards

Javed

0 Kudos
Message 1 of 3
(3,711 Views)

Javed,

This is actually the expected behavior. LabVIEW itself (the editor in this case) contains the compiler. The Run-Time Engine does not contain a compiler. For this reason, you can create excutables from LabVIEW, but not from any executable built by LabVIEW.

If you are looking for an automated way to build an executable, then I suggest creating a simple VI that contains the BuildTargetBuildSpecification.vi in it and set it to be runnable on open. (You will need to add some other code to add the settings and which project you want to build, maybe from a file or using command line arguements.) The run "/usr/local/lv80/labview <Path to Created VI>" and you will get your automated build. The Example Finder is actually built this way nightly.

Randy Hoskin

0 Kudos
Message 2 of 3
(2,722 Views)

Hello Randy

Thank you for the inputs and suggested solution. I will make changes to the VI based on your solution.

Regards

Javed

0 Kudos
Message 3 of 3
(2,722 Views)