Pablo Bleyer Posted April 19, 2007 Report Share Posted April 19, 2007 Hello. I have an application that uses a subVI containing a CIN resource (LSB). The app works perfectly on my computer either under LV (8.2.1) or as an executable. However when I install it in another computer (exe + runtime), it complains that the LSB resource is missing and the app is unable to load the container subVI. The Project Explorer recognizes the dependencies correctly and I verified that it is including the subVI in the build (which in turns contains the LSB resource). Anyone has experienced the same problem? Warmest regards. Quote Link to comment
Thang Nguyen Posted April 19, 2007 Report Share Posted April 19, 2007 QUOTE(Pablo Bleyer @ Apr 18 2007, 03:12 PM) Hello.I have an application that uses a subVI containing a CIN resource (LSB). The app works perfectly on my computer either under LV (8.2.1) or as an executable. However when I install it in another computer (exe + runtime), it complains that the LSB resource is missing and the app is unable to load the container subVI. The Project Explorer recognizes the dependencies correctly and I verified that it is including the subVI in the build (which in turns contains the LSB resource). Anyone has experienced the same problem? Warmest regards. There are some issues I met: + Link to external files such as call by reference VIs, or configuration files. + Link to old VIs when I build the new VIs by copy from another VIs. I don't know weather this can help but you can use the example of Kurt here: http://forums.lavag.org/Question-about-making-the-Executable-file-with-GOOP-t7218.html' target="_blank">http://forums.lavag.org/Question-about-mak...GOOP-t7218.html Quote Link to comment
Pablo Bleyer Posted April 19, 2007 Author Report Share Posted April 19, 2007 QUOTE(Thang Nguyen @ Apr 18 2007, 04:30 PM) There are some issues I met:+ Link to external files such as call by reference VIs, or configuration files. + Link to old VIs when I build the new VIs by copy from another VIs. I don't know weather this can help but you can use the example of Kurt here: http://forums.lavag.org/Question-about-making-the-Executable-file-with-GOOP-t7218.html' target="_blank">http://forums.lavag.org/Question-about-mak...GOOP-t7218.html I have also tried to put the subVI files --even the LSB itself-- under the project file list, and in different locations of the generated installation (eg. Startup VIs, Dynamic VIs and Support Files, etc.), but to no avail. Something funny I noticed: project explorer lists the LSB dependency without the lsb extension. This is different as for DLLs (Pperhaps because it is an internal resource of a subVI and not a file per se). Is this the expected behavior? Thanks. Cheers. Quote Link to comment
Rolf Kalbermatter Posted May 14, 2007 Report Share Posted May 14, 2007 QUOTE(Pablo Bleyer @ Apr 18 2007, 03:12 PM) Hello.I have an application that uses a subVI containing a CIN resource (LSB). The app works perfectly on my computer either under LV (8.2.1) or as an executable. However when I install it in another computer (exe + runtime), it complains that the LSB resource is missing and the app is unable to load the container subVI. The Project Explorer recognizes the dependencies correctly and I verified that it is including the subVI in the build (which in turns contains the LSB resource). Anyone has experienced the same problem? Warmest regards. Your CIN likely makes use of some external functions located in a DLL. This could be a C runtime library or some non-standard Windows or third-party DLL. In the first case you can either make sure the runtime library installer for your development environment has been run on each computer you want to run your LAbVIEW program on or define in the CIN project to link with a statical C runtime library instead of a dynamical one to prevent problems on plattforms your compiler or depending tools hasn't been installed (this will make your CIN code resource considerably larger). In the second case you will have to find the non-standard Windows or third-party DLL you are calling and find a MS or other installer that will install it and make sure you tell any user to also install that package too. A CIN LSB is in fact a DLL too and a DLL that references other DLLs that can not be found by Windows will be refused to be loaded by Windows, leaving LabVIEW with no LSB to link into the VI. Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.