LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error 'LabVIEW: Resource not found.' lvanlys.dll , when an executable is run

Getting the error in the subject line, when an executable is run on a run-time only system.  There  are also errors of the type "An error occurred loading VI 'Find Min Reactance rev5.vi'..  There are also some messages about missing external function.  This is a rather large project that I am making changes to.  It was developed under a previous version of LabVIEW (V15).  It is now being used with V17.  The application runs fine on the development system.  It may just be my inexperience.

 

Thanks for any help.

 

Regards,

 

Colin

0 Kudos
Message 1 of 5
(4,626 Views)

Hi Man,

 

the RunTimeEngine does not include lvanlys by default!

 

When you create an executable, which uses functions from Math/Analysis palette, then that DLL is included in the build and placed in the data subfolder next to your executable. You need to copy that data subfolder with your executable to have it runnable. (Better yet: create an installer from your build specs…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(4,595 Views)

Hi GerdW,

 

   Thanks for the advice and sorry for the delayed reply  I verified that the file is in the data subfolder, but the error is the same.

 

Regards,

 

Manfromja

0 Kudos
Message 3 of 5
(4,581 Views)

Hi Man,

 

Getting the error in the subject line, when an executable is run on a run-time only system.

Then there is (probably) a problem with your build settings.

Are you calling any VIs dynamically?

 

There  are also errors of the type "An error occurred loading VI 'Find Min Reactance rev5.vi'.. 

Which error occured?

Can you attach a screenshot?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(4,571 Views)

Hi GerdW,

 

   Yes, some VI's are called dynamically.

 

Here are the screenshots of the errors.

 1.png2.png3.png

Thanks,

Manfromja

0 Kudos
Message 5 of 5
(4,560 Views)