LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lvanlys.dll file issues

The lvanlys.dll is listed in my project files in three separate entries in three separate folders, one of which was not found.  Why is this dll not pulled from the labVIEW vi library and how can I reconcile all of these separate files?  I am using labVIEW 2010

0 Kudos
Message 1 of 6
(3,773 Views)

I guess I am not fully understanding what is happening. Are you building an executable and the lvanlys.dll is missing when you try to run the exe on another machine? Are you building an installer at all? 

 

Not sure if you have seen this forum thread or not, but it may or may not be of help:

http://forums.ni.com/t5/LabVIEW/quot-Missing-external-function-lvanlys-dll-quot-when-running-EXE/td-...

 

If you could provide me with a little more description as to what is occuring I would be more than happy to look into this and help you out!

dK
0 Kudos
Message 2 of 6
(3,750 Views)

I'm building a executable, and sometimes it doesn't find this file.  Also, two of the three places it's finding this file are in other projects, which I don't want it to do.  This file seems to follow different rules than other files in the project.  I would like it to pull the file from the LabVIEW vi library, but haven't figured out how to do it.

0 Kudos
Message 3 of 6
(3,735 Views)

I apologize, I have been out of the office for the past two weeks and have been unable to work on this. I have just a few clarifying questions. You are unable to fully build the executable correct? Because LabVIEW keeps trying to locate the lvanlys.dll file? Or can you build the executable, but the lvanyls.dll file is missing?

From what I've looked into, this lvanlys.dll file has caused some issues before. Sometimes there is an issue with LabVIEW trying to link to a previous version of the dll file. Here are a few links here for you to look through that may help. 

http://forums.ni.com/t5/LabVIEW/lvanlys-dll-problem-with-linking-and-math-functions/td-p/214758

http://forums.ni.com/t5/LabVIEW/DLL-build-by-Labview-App-Builder-doesn-t-work-if-Built-IN/m-p/206695...

http://digital.ni.com/public.nsf/allkb/FA6D52BA5D44232D86256FAB006FF038

dK
0 Kudos
Message 4 of 6
(3,678 Views)

I guess what I'm looking for is rules to manage this dll because I have frequent problems with it.  In one of my recent projects, it was in my dependancies three times in three locations.  It couldn't find the one in the third location, so it wouldn't build.  I wound up doing a source distribution for the entire project in order to fix it.  Is there perhaps a white paper that discusses how file discovery happens in LabVIEW projects?  It depends on what computer I'm on where the dll is found, so there seems to be something besides the project itself that is dictating where the dll is located.  

0 Kudos
Message 5 of 6
(3,657 Views)

That's curious that it shows up three times in your dependencies. Is it the same lvanlys.dll file being called every time? Do you possibly have several versions of this dll?

 

I was also wondering if you are including the lvanlys.dll file in the Always Included section when configuring your application build specification?

dK
0 Kudos
Message 6 of 6
(3,627 Views)