01-24-2018 08:19 AM
Hello
I created a VI and built an application which successfully worked on a secondary computer. I then added some additional functions which included the Solve Linear Equations VI from NI_MASM_BasicLinAlg library.
The program no longer works with the secondary computer and produces error message:
'Resource not found. MASMT_LINALG.dll. An error occurred loading VI 'NI_MASM_BasicLinAlg.lbvlib:Solve Least Squares Problems (nRHS, DBL).vi'.'
The VI in question is listed in the dependencies in the project, could someone please help me.
Thanks
Solved! Go to Solution.
01-24-2018 09:04 AM
How did you transfer your new executable to your secondary computer? Perhaps by just copy-paste of the exe-file?
Well, that Solve Linear Equation.vi now calls a DLL, the lvanlys.dll. This usually is save in a sub-directory "data" during the build process. I assume that you did not transfer that subdirectory to your secondary computer.
Another idea: Which version of the LabVIEW run-time engine is installed on your secondary computer? I hope it is the full version.
Regards, Jens
01-24-2018 09:09 AM
Hello Jens,
Thanks for your response. I am copying the .exe file and the data folder with
- lvanlys.dll
- lvsound2.dll
- MASMT_LINALG.dll
The exe file and the data folder are located in the same folder.
On my development computer I have multiple Runtimes listen 2011/12/13/14/15 and on my secondary computer I have Runtime 2009/2014/2015. (I have taken this from the 'software' tab on NI MAX. I have checked the 2014 runtime (my LabVIEW version is 2014) and I believe it is the full version because a previous post said the full version file size should be around 200MB which it is.
Hope that helps.
Thanks
01-25-2018 04:10 AM
After hours of trying different things I have managed to solve it and I think the solution was both of the following:
1. Copying the dll file that the application could not find into C: \ Program Files (x86) \ National Instruments \ Shared \ LabVIEW Run-Time \ 2014) on the second computer
2. Create an installer build with the add-in 'LabVIEW Multicore Analysis and Sparse Matrix Toolkit' which is where I eventually found out the VI in question was from
Thanks