Skip navigation

Community

748 Views 2 Replies Latest reply: Jan 19, 2012 3:44 AM by Javed Halani RSS
Javed Halani Calculating status...
Currently Being Moderated

Jan 17, 2012 4:50 AM

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

  • Currently Being Moderated
    1. Jan 17, 2012 9:21 AM (in response to Javed Halani)
    Re: Programmatically Building Project

    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

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points