LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit our LabVIEW Wiki Code Distribution Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> LV71 EXE issues with missing subVIs, Linear algebra functions are not bundled into application
Phil Duncan
post Aug 28 2008, 02:33 PM
Post #1


Very Active
***

Member
Posts: 58
Joined: 26-April 06
From: Adelaide
Member No.: 4848
Using LabVIEW Since:2002
LV:8.5 ,8.2.1 ,7.1.1
Australia Nothing Selected Nothing Selected


Hi all,

I have been happily developing an application in LabVIEW 7.1 (not my preferred version) that needs to be compiled into an executable. I am familiar with the app builder and the executable runs fine on the development machine. It fails to run on another PC that does not have LabVIEW installed. I built an installer to ensure the LV71 run-time engine was included. When I run the app I get "An error occured loading VI 'Real Inverse Matrix (LU).vi'. LabVIEW load error code 21.... I get the same message for a bunch of other linear algebra functions that are in the program. I am aware of many other "code 21" posts but they all seem to be related to missing items like DAQ, IMAQ etc. I have checked here and verified that there are no (listed) special requirements for linear algebra functions like the ones I am using. I have tried copying lvanlys.dll, adding the missing VI's as dynamic VI's and support files. No good.

I have noted that all the "missing" VI's are in fact included in the VI Settings tab of the app builder as shown below.
Attached Image


Is there a magic post that explains a very obvious solution, is there a trick that I have missed or is there some obscure reference to a work around for including linear algebra functions?

Your help is, as always, very much appreciated.

Cheers & Beers
thumbup1.gif beer_mug.gif

This post has been edited by Phil Duncan: Aug 28 2008, 02:42 PM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Aug 28 2008, 02:33 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
crelf
post Aug 28 2008, 02:55 PM
Post #2


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3853
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


Do you get any more info than just "load error code 21"? Do all of these VIs call a DLL that's missing and/or needs to be registered?

You're, of course, not right at the end of the project, right? You've subscribed to the "build early, build often" mantra, right? So this isn't a major timeline issue yet, right? wink.gif

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Phil Duncan
post Aug 28 2008, 04:11 PM
Post #3


Very Active
***

Member
Posts: 58
Joined: 26-April 06
From: Adelaide
Member No.: 4848
Using LabVIEW Since:2002
LV:8.5 ,8.2.1 ,7.1.1
Australia Nothing Selected Nothing Selected


QUOTE (crelf @ Aug 29 2008, 12:25 AM) *
Do you get any more info than just "load error code 21"? Do all of these VIs call a DLL that's missing and/or needs to be registered?


Why yes! I get a very helpful explanation. The full text reads like this: "An error occurred loading VI "Real Inverse Matrix (LU).vi". LabVIEW load error code 21: An external subroutine required for execution could not be found. frusty.gif
I get the same message for 4 other missing vi's that are all from the linear algebra palette. After clicking "OK" for each error message, I get a nice summary of all the missing VI's. mad.gif
There is no mention of unregistered or missing DLL's. This is not the same as DAQ files that must be loaded on the target machine separately, all the troublesome VI's are included in the VI settings tab of the App Builder, so LabVIEW knows they are required for the exe.
As far as I know these files call the lvanlys.dll, but it is not included in the build and I cannot force it into the build. The lvanlys.dll was put in c:\NI\Shared\LabVIEW Run-Time\7.1 directory on the target PC after installation of the executable (via installer files).

QUOTE (crelf @ Aug 29 2008, 12:25 AM) *
You're, of course, not right at the end of the project, right? You've subscribed to the "build early, build often" mantra, right? So this isn't a major timeline issue yet, right? wink.gif

Yes, sort of, and no. wink.gif

Cheers

This post has been edited by Phil Duncan: Aug 28 2008, 04:15 PM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
gmart
post Aug 28 2008, 05:03 PM
Post #4


Very Active
***

NI
Posts: 95
Joined: 12-December 05
From: Austin, TX
Member No.: 3674
LV:8.0
United States Nothing Selected Nothing Selected


Analysis support is a component of the Run-Time Engine. The installer has an option to include (the default) analysis support. You could verify in the Advanced Installer settings that the "Analyze VIs Support" is checked. You could also try reinstalling just the 7.1 RTE (which I believe you can download from ni.com).


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Aug 28 2008, 05:31 PM
Post #5


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3853
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Phil Duncan @ Aug 28 2008, 12:11 PM) *
Yes, sort of, and no. wink.gif

biggrin.gif

QUOTE (Phil Duncan @ Aug 28 2008, 12:11 PM) *
I get a very helpful explanation. The full text reads like this: "An error occurred loading VI "Real Inverse Matrix (LU).vi". LabVIEW load error code 21: An external subroutine required for execution could not be found.

Ahhh - that's important - sis you enable analysis support when you installed the RTE?

EDIT: gmart got there before me smile.gif

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Phil Duncan
post Aug 29 2008, 03:02 AM
Post #6


Very Active
***

Member
Posts: 58
Joined: 26-April 06
From: Adelaide
Member No.: 4848
Using LabVIEW Since:2002
LV:8.5 ,8.2.1 ,7.1.1
Australia Nothing Selected Nothing Selected


QUOTE (crelf @ Aug 29 2008, 03:01 AM) *
EDIT: gmart got there before me smile.gif


GRRRRRRRRRR I can't believe I missed that in my checks. Thanks guys, sorry for wasting your time. All is good again.

Looks like I'll meet that timeline after all smile.gif

Cheers & Beers
thumbup1.gif beer_mug.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Aug 29 2008, 02:58 PM
Post #7


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3853
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Phil Duncan @ Aug 28 2008, 11:02 PM) *
Cheers & Beers

No worries smile.gif

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 9th January 2009 - 02:24 AM