01-03-2014 03:49 PM
I was given an application by a hardware vendor (a test program for their device) that was built via Labview (I have only the .exe). When I try to start it, I get a bunch of "could not load front panel" errors, all of the form:
LabVIEW: Resource not found.
An error occurred loading VI '[x].vi'. LabVIEW load error code 3: Could not load front panel.
[x] is the only difference among the four errors I get, where [x] is:
* NI_AAL_Pro.lvlib:Unwrap Phase.vi
* NI_AAL_Pro.lvlib:Real FFT.vi
* NI_AAL_Pro.lvlib:Scaled Time Domain Window (DBL).vi
* NI_AAL_Base.lvlib:Mean.vi
Basically every post I can find on ni.com about "could not load front panel" suggests that this is a build-time problem, i.e. that the developer forgot to check a box that would force the missing components to be included, which doesn't help unfortunately... but here's the twist: when I move this to another machine, it works fine. I don't have LabView installed on either machine. Both are Win8.1 x64. I believe the application was built with LabView 2010.
The only relevant difference between the machines that I can think of is that on the machine where the application *doesn't* work, I use many National Instruments device and have installed DAQmx. You'd think that if anything, that would install missing components and make this *less* likely to happen.
Since encountering this problem, I've tried to install every Labview 2010 runtime SP/patch I could find, but unless I'm missing something, there's not really a definitive place I can do to make sure I have all the patches or get a single cumulative rollup.
Any ideas? I don't have access to LabView or the source .vi, but the fact that it works on a second machine suggests there's hope. I really want it to run on my primary machine, where all the relevant hardware is.
Thanks!
-Dan
01-03-2014 04:54 PM
You are most likely missing lvanlys.dll. It should have come with the installer that the exe distrubuted on. You "Should be able to add a copy of it to the exe's support directory.
01-03-2014 05:00 PM - edited 01-03-2014 05:45 PM
Is it possible that one machine only has the minimum run time engine (~42MB) installed? You need the full standard version (~180MB).
01-03-2014 05:11 PM
I don't know how to check whether I have the "minimum" or "full" runtime installed, but when I try to install the runtime version you linked to (2010SP1f5), I get an error that says:
Cannot install
NI Variable Engine (higher version already installed)
DataSocket (higher version already installed)
USI (higher version already installed)
...and I'm prevented from clicking "next".
I don't know whether this is good or bad news... presumably it means I already have 2010SP1f5 installed.
-Dan
01-03-2014 07:53 PM
That is good news. did you look to see if the dll was in the support folder?
01-15-2014 01:56 PM
For all of my deep fussing with DLLs, it turned out all I needed to do was run it in Win7 compatibility mode.
Problem solved!
-Dan