LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging Unlinked DLL

Solved!
Go to solution

Hello,

I have a Labview program that controls a series of Thorlabs motion stages. This program was completely functional with no issues. It was then not used for a month and now all of a sudden doesn't work anymore with nothing having changed. When the program is opened, Labview has trouble finding this one specific DLL, and when I manually select the DLL through the file browser it loads without errors. However the program does not recognize any of the functions that were contained in that DLL and will not run. This has happened once before and the solution was to delete all the function calls to that DLL and manually replace them with a newly created versions. Is there a more elegant way to relink the DLL to the functions or to better debug this issue?  

 

Screen Shot 2021-12-13 at 10.50.51 AM.pngScreen Shot 2021-12-13 at 10.51.42 AM.png

 

Screen Shot 2021-12-13 at 11.10.44 AM.png

 

Cheers,

 

 

0 Kudos
Message 1 of 2
(994 Views)
Solution
Accepted by topic author photon13

SOLVED:

 

From example code: Thorlabs Motion Control DLL's must be opened from the project explorer menu, and fail in a strange way if opened differently. 

Screen Shot 2021-12-13 at 11.39.51 AM.png

 

Message 2 of 2
(982 Views)