01-29-2008 10:48 AM
I tried this other method:
-open Main.vi>> Tools>> Build Application or Shared Library (DLL)
right after i select Build Application or Shared Library (DLL) an error message (refer to attachment) popped up. I would like to know the meaning of error and how to approach it.
01-29-2008 10:57 AM
01-29-2008 03:34 PM
Hi locman,
One thing to check when you get that error is to make sure that you did not change the location of any subVI from the time you first created the build script. The script stores the path of all the VIs and uses this information when building the executable. If the path has changed, you will receive this error.
You can check the path that is used to find each VI at build time by clicking on the "VI Settings" tab in the Application Builder dialog box. You will see a list of all the subVIs that are used in building the executable. Click on the name of any VI and you will be able to see its associated path information in the "Selected File" path indicator at the bottom of the dialog box. Make sure that the path is correct.
Also, you should check out a great article in the NI Development Zone that goes into detail about building an application. There is also more detail in the LabVIEW help that has a better step-by-step process for building the executable.
In addition, if you are running this executable on a different computer that does not have LabVIEW, you will need to make sure that it has the LabVIEW run-time engine installed on that target computer. I hope this helps lead you in the right direction.
01-30-2008 11:46 AM
thank you so much for your help. I reinstall LabVIEW and it works.
But how do i change the status of Show Panel under VI Settings to yes (please refer to attachment).
01-30-2008 12:17 PM
Hi locman,
I'm glad that you got it working. There is a great knowledge-base article that talks about how to change this "show panel" setting. You need to change the setting in the VI properties first and then save the VI before it will take effect. Go into the VI properties and just follow the steps that are in the knowledge-base. I hope this helps!
Carla
01-30-2008 03:21 PM