LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing subvi NI_AALPro.lvlib:Linear Fit(LS).vi after build using App Builder

Hi Ching P.:
 
I think you still not very clear of my issue. I was able to use the installer and install my application on the target PC and run my application. But I can not use the .exe generated using the labview builder and run it on a PC with RTE8.2 preinstalled on that PC. So you should try build the .exe and then run it on a PC with RTE8.2 preintalled. Don't use the installer. It also works for me.
 
The reason why I did not want to use the installer is because I already have an existing installer software to deploy my labview project. So I just one to build the .exe and adds this .exe to my own installer.
 
Thank you.
 
Chin Lin
0 Kudos
Message 11 of 22
(3,347 Views)

Hi Chin Lin,

I was able to run the executable on a test machine.  The test computer was free of any National Instruments software.  I installed the LabVIEW Run-time Engine 8.2 from this website, then ran the executable file.  The executable ran without error.

Did you try to run the same executable that you used to build your installer?  To build an installer, you need to first build and executable that you include in the installer.  Try using that executable, and see if you still get the error.

Please let me know if you have any questions.  Best of luck on your application, and have a great day!!

Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 12 of 22
(3,338 Views)
Hi Ching P.:
 
Yes. I was using the same executable file to build the installer. The installer work but the .exe did not work. Anyway thank you for your advice.
 
Chin Lin
0 Kudos
Message 13 of 22
(3,331 Views)
Hallo,
I had the identical problem and was able to determine it's cause (at least for me).
 
What I (erraneously) did, was to install the wrong LV 8.2 Runtime on the target machine first (the "light" one [2x MB] for browsing VIs). Then I installed the proper 8.2 Runtime over it (since I could not uninstall the wrong one - it doesn't show either in "Add/Remove Programs" or in "National Instruments Software").
 
When I then tried to run a freshly built 8.2 Executable on this taget machine then I got the very same error message about not finding the front panels of several *AA*.lvlibs ... the same error Chin Li got.
 
So what worked for me is: radically clean the target machine of NI stuff (i.e. that being an XP machine I rolled it back to a day before I tried all this). Then I freshly installed the correct 8.2. Runtime (the big one) and now my executables run fine.
 
So I think maybe the reason Ching P. couldn't reproduce Chin's problem is that he did exactly that on a real fresh machine and Chin's target machine only "looked" like fresh because the wrong RT still lurkes somewhere.
 
It is very bad naming policy by NI by the way, to name both these thing "LabVIEW Runtime 8.2", lots of people will get confused ...
 
hope this helps
Jens
0 Kudos
Message 14 of 22
(3,315 Views)

Hi Jens:

Thanks for your information. From the day one, I was using the correct RTE8.2. I was using the one in the Labview Professional Development System 8.2 CD. I then downloaded the RTE 8.2 from the NI website and they look the same and have the same size.

If what you said is correct, then this is very bad because not many have backup their system before installing any software.

I think my problem maybe due to the fact that my target system is not clean. The system has been used for running LV6.02 program with many other NI drivers installed (DAQ, VISA,....). I am investigating converting my LV6.02 program to LV8.2 to deloy it to my production machines. I can not clean them before installing RTE 8.2. This is just not acceptable. Hofully this is not the root cause.

Thank you.

Chin Lin

0 Kudos
Message 15 of 22
(3,311 Views)
Hi Chin Lin,

Please post back to the forum if you see that you are still receiving this error.  Another thing you can try is to post the exe that is causing you the issue, and let me see if it causes any issues on my end.  Like I said, I was unable to reproduce the error when I built my own exe. 

I don't know if the issue is that you have upgraded from LabVIEW 6.02 to LabVIEW 8.20 either.  Originally, I tried this on my PC, not a test machine.  My PC has had several versions of LabVIEW and multiple versions of drivers installed on top of each other, and I did not notice any issues.  If you do this on another machine, and observe the same results, please let me know so I can do some further testing.

Best of luck on your application, and have a great day!!
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 16 of 22
(3,298 Views)
Jens,

That is an interesting observation about the naming convention of LabVIEW Run-time Engines.  I would highly encourage you to submit a product suggestion at the Product Suggestion Center.  All product suggestions are reviewed by R&D, and a suggestion such as this one will help make LabVIEW an even better product.

I will submit an internal suggestion to have the names of the LabVIEW run-time engines differ, but I still highly recommend that you submit a suggestion as well.

Thanks for your feedback, and have a wonderful day!!
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 17 of 22
(3,296 Views)

Hi:

I finally found out the root cause. Initially I installed the LV RTE 8.2 from the NI Labview 8.2 Dev CD which getting error when running the vi .exe. I then go to the NI website to download the RTE 8.2 which is about 94MB. When executing the setup.exe, there were 5 items to select for installation:

NI Labview RTE 8.2
Variable Engine
Datasocket
Labview Deployable License
USI

I selected only NI Labview RTE 8.2. When installing in progress, I noticed that there were 7 parts in total (these are part of the package and can not be unchecked):
NI EULA Depot
NI MDF Support
NI Logos 4.7
NI Labview RTE 8.2
NI Math Kernel Libraries
NI Service Locator
NI TDMS

After installation, the .exe file was able to execute without problem. So by just installing the RTE 8.2 (lv82runtime.msi), it won't work. Then I uninstalled all the components of RTE8.2 and installed just the NI Labview RTE 8.2 and NI Math Kernel Libraries from my NI Labview 8.2 Dev CD. Now it also work.

So in summary, we need to use the RTE 8.2 from the NI website to install which will automatically install the extra components for us to get the .exe work. I was wrong to assume that we need only the RTE 8.2 to run a labview .exe.

Thank you.

Chin Lin

 

Message 18 of 22
(3,229 Views)
Hi Chin Lin,

Thanks for the update.  You do need to allow all the parts of the Run-time engine to be installed for your .exe files to be run correctly.

Please let me know if you have any further questions.

Best of luck on your application, and have a great day!!
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 19 of 22
(3,222 Views)
I just wanted to drop in a note to this thread because I just experienced the exact same issue.
 
We have been installing the LVRTE 8.2 successfully for some time.  However, we just ran into a situation where one of the applications complained about being unable to find "NI_AALPro.lvib:2D".  After a lot of messing around, we ended up uninstalling the LVRTE and then re-installing it, selecting only the LVRTE component during the installation.  Everything worked fine afterwards.
0 Kudos
Message 20 of 22
(2,854 Views)