08-30-2011 07:47 AM
HI,
I have developed a application using Labview 7.1, In that i have a main VI inside that i am calling subvi's dynamically by using OpenFP whenever the user clicks on the menu item.
but when i build the application the SubVi's are not getting added in the applicaion exe.
and because of that the SubVi's are not getting loaded when i run the EXE.
Can you help me on this
Regards
Sudhindra
08-30-2011 08:06 AM
This is explained in the LabVIEW Help. On the page that describes the Source Files Tab it says:
Use this tab of the Build Application or Shared Library (DLL) dialog box to add and delete files from the stand-alone application or shared library. You also can specify custom destinations for files that you include in the build.
This tab includes the following components:
08-30-2011 08:07 AM
In LV7.1 the (probably) easiest workaround is to create a case structure with a FALSE constant wired to the case selector and putting all the dynamically called SubVIs into the true case.
This way you make sure they are included in a compiled application but the VIs are not executed automatically.
You could also place static VI references to the VIs.