09-17-2014 08:32 PM
Hi,
I am in a tight spot here. I am at a customers site trying to take an application that was built almost 4 years ago using LV 2010 and transfer it to a new windows 7 desktop. I am fairly certain no installer was created, if one was created I do not know where it is. So I copied all the related files. (.exe, .aliases, Data Folder, .ini, lvanlys.dll, etc.) I also installed the LabVIEW Run-Time 2010 on the 7 machine which was installed on the XP computer, along with the DAQmx and NI motion. When I run the application I get the following errors:
PopUp 1:
PopUp 2:
PopUp 3:
PopUp 4:
After I click OK on the 3rd PopUp the 4th PopUp comes up and the front panel of the application comes up with the run bar showing and a broken run arrow. The application does not show the run bar when running on the XP machine.
I do not use those front panels on the library vi's which it can not find but I don't have the source code so I can not rebuild and have no way of excluding that requirement from the build.
I searched the entire XP C: drive and could not find the NI_AALBase.lvlib file. Is this because I am putting this on a windows 7 machine? I do not have the source code so I can not rebuild this application. Is there anything I can do to fix this issue by copying files from one computer to the other? Thanks.
-Ryman
CLD
09-17-2014 09:09 PM
It looks like the Mathematics module is missing and I am not sure that the Run Time engine includes this. If you don't have the original installer why don't you try to install LabVIEW and check.
09-17-2014 09:47 PM
I would try to create a simple VI on a LabVIEW development PC that includes some of those VI's. Then try to make an installer for that application. See what extra files it would include in the package.
09-18-2014 08:41 AM
I did install 2014 which included the mathematics module but it did not work. I do not have a LabVIEW 2010 installation disk. I also tried creating a project with the missing VI's and the only thing it included was LabVIEW Run-Time 2013. I would try to build using LV 2010 if I had it and see what other installers it would include in the installer build.
09-18-2014 09:33 AM
I'm pretty sure, that there was a data subdirectory relative to your exe on the old Win XP system which contained a "lvanlys.dll". Do copy this data directory on your Win7 system togehter with your exe.
Another idea: I do hope you installed the full version of the 2010 runtime engine.
Regards, Jens
09-18-2014 09:35 AM
I would have thought that installing the LVRT 2010 would have included the Math Kernel libraries (which contain the missing files). Are you installing the standard version of the runtime (http://www.ni.com/download/labview-run-time-engine-2010-sp1/2292/en/) as opposed to the minimal?
If you have an NI service contract...I guess you could download & install LV2010 and build an installer which includes the math kernel libraries?
You can also look in the extracted run-time (C:\National Instruments Downloads\...) for the MKL.msi or similar and try to run the installer for the math libraries manually?
09-18-2014 09:40 AM
I copied the LV 2010 RTE Installer from the original XP computer and installed it into the Windows 7 machine. It was the Standard version. I also copied the entire vi.lib/Analysis folder which includes the NI_AALBase.lvlib and NI_AALPro.lvlib into the C:\Program Files (x86)\National Instruments\LabVIEW 2010\vi.lib folder on the windows 7 machine.
09-18-2014 10:09 AM
I also tried installing the math libraries (MKL_2010) manually. It did not work either. Thanks for the suggestions. Does this have to do with XP vs 7? Program files (x86) directory name?
09-18-2014 11:12 AM
Just a weird idea:
Program files (x86) indicates that you run a 64bit version of Windows 7.
Most probably the LabVIEW exe is 32bit. You need the 32bit version of the run time engine.
Perhaps this thread is helpful.
Regards, Jens
09-24-2014 03:44 PM
@jg69 wrote:
Just a weird idea:
Program files (x86) indicates that you run a 64bit version of Windows 7.
Most probably the LabVIEW exe is 32bit. You need the 32bit version of the run time engine.
I don't think this is the issue. If it were then he wouldn't be able to see the front panel, even if it is broken. If you try to run a LabVIEW built EXE without the right run-time it will just tell you to go download the run-time and that's it. Here it sounds like it is starting to load VIs into memory, which is where it has issues. I'd say the correct run-time is installed and it is other sub-components that are still missing, like the math components.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord