08-06-2014 04:40 PM
Hi
I am building a datalogger application which uses a dll library from ADAM 5000. I've made the application and it works fine when used in labview but when I make it an executable file it does not communicate with the external device. I cannot connect.
Do you know what am I doing wrong?
How could I fix it?
I'm attaching the VI as well as the executable file with the dll packed in a zip folder.
I appreciate any help
Thanks,
Sergio
08-07-2014 09:22 AM
I'm not on a computer I can open your vi with but Ive run into this issue before, I discovered that it was caused by my DLL not being in the right location relative to the exe- IIRC it was fixed for me when I told the app builder to take the dll and put it into a folder one level below the exe.
Where does your dll reside relative to the exe?
-pat
08-07-2014
09:43 AM
- last edited on
05-28-2025
02:39 PM
by
Content Cleaner
@PatLyons wrote:
I discovered that it was caused by my DLL not being in the right location relative to the exe- IIRC it was fixed for me when I told the app builder to take the dll and put it into a folder one level below the exe.
-pat
Are you perhaps thinking of https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NFfSAM&l=en-US ?
08-07-2014
09:49 AM
- last edited on
05-28-2025
02:40 PM
by
Content Cleaner
I've screwed that up too with txt files and such, but I'm thinking more along the lines of where the 'call library function node is looking for the dll-
Maybe I'm not helping here, but I think my issue had to do with the name/path field being wrong in the "Configuring Library Name or Path"
from the help here, scroll down a bit:
https://www.ni.com/docs/en-US/bundle/labview/page/configuring-the-call-library-function-node.html