09-19-2012 03:09 PM
I have a built executable in LV 2012 64 bit that runs fine when it is run on a computer that has the LV development environment installed. When I install the executable on either a Vista_64 or Win 7_64 computer that do not have the development environment on them, I get the following error when I run it:
LabVIEW: Resource not found.
An error occurred loading VI 'NI_ALLBase.lvlib:Mean (DBL).vi'.
LabVIEW load error code 3: Could not load front panel.
I get this message for several of the analysis VIs from the vi.lib that of course never open their front panels. The same project installation worked fine in previous versions of LV. Any ideas?
Thanks,
Daniel Gilmore
Spectral Instruments, Inc.
09-19-2012 03:43 PM
Are you using an installer to install the exectuable on the other computers?
09-19-2012 03:46 PM
Yes and I did include the full Run-Time in the installation. The build settings of the project are the same as when I built it in LV 2011 and that did not have the same issues.
09-19-2012 03:49 PM
Well, if it were me, I'd probably start randomly adding other installers to the build package. But that's probably not the best way to go about it.
What types of functions do the failing VIs use?
09-19-2012 03:52 PM
The failing functions are all analysis VIs from the vi.lib like Mean, RMS, Linear Fit, Median Filter, and several more, non of which show thire front panels.
09-19-2012 04:04 PM
The use of analysis functions has always required that you install lvanalys.dll besides the runtime. Are you also installing this and is it the 64-bit version?
09-19-2012 04:14 PM
Yes the lvanalys.dll is installed and it is the 64 bit version since the installation was built with the 64 bit development system.
09-20-2012 11:34 PM
Hello everybody,
The most common reasons for this issue are a forgotten library during the compilation process, a corrupted front panel, or a configuration of not showing the front panel for certain sub-VI.
I found this link that can be useful.
http://digital.ni.com/public.nsf/allkb/8F68715444302CAB86256DDD0071C140
Please follow the next recommendations in order to verify all the files and configurations needed by the application builder.
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/caveats_install/
Let me know if these recommendations work for you.
Regards,
Minor Coto
Applications Engineer
National Instruments
09-21-2012 07:47 AM
Are you using a stripped down version of the runtime engine? The Math Kernel Libraries are required for the analysis VIs, so confirm they are included in your runtime engine deployement.
09-21-2012 07:49 AM
The problem here is that the analysis VIs from vi.lib are causing the problem and they never show thier front panels. In a suggestion from Jon Soneson, I unchecked the Remove Front Panels for the "dependency" VIs that include all vi.lib VIs and the error 3 went away but the program opened broken with the following window (only two lines shown here as example - there are 24 missing functions):
Missing external function lvanalys.dll:RampPtrn85:C in VI NI_AALBase.lvib:Ramp Pattern by Sample.vi.
Missing external function lvanalys.dll:Mean_head:C in VI NI_AALBase.lvlib:Mean (DBL).vi.
So all the VIs that before it could not open their front panels now can not find the external functions even though the lvanalys.dll is installed in the folder with the executable. This was on a computer with no other LV programs or programing environment installed. As I stated before, if I install this on a computer with the LV development environment on it, the installation folder has the exact same files in it (exe and lvanalys.dll and other of our DLLs) and it works fine. What would cause the program to not find the lvanalys.dll only on a system without the development envirinment installed?
Regards,
Dan