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 - edited 08-07-2014 09:43 AM
@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 http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363 ?
08-07-2014 09:49 AM
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:
http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/configuring_the_clf_node/