09-19-2013 08:36 PM
Hey there, I'm using LabVIEW 12.0f1. I created a .dll for use in TestStand, and when I tried to wrap it in LabVIEW using the import shared library functionality, I get dependency problems with other .dlls (not found), and I'm not really sure why since the .dll works fine as-is in Teststand. I copied the .dlls it wanted into my Windows folder, and afterwards when I try to open the VI, LabVIEW freezes and I have to forcibly end the process. Now I also have the same issue when LabVIEW tries to create the VIs at the end of the import wizard, for the same reason. Is there any kind of debugging tool or simple thing I'm missing that could resolve this issue?
09-20-2013 12:45 AM
Are you sure it is opting same path?
09-20-2013 12:18 PM
The same path as what? I'm just using the Import Shared Library wizard, apart from the include files, there are no paths to specifiy.
09-20-2013 09:51 PM
Use indicator and verify this
09-21-2013 10:30 AM
@bclark wrote:
I get dependency problems with other .dlls (not found),
What are the names of the "other" dlls?
09-23-2013 04:27 AM
"Use indicator and verify this"
I'm sorry...I don't understand what you are saying. What indicator, and what am I verifying?
"What are the names of the "other" dlls?"
A CAN dll, iconv.dll, and zlib1dll. The CAN stuff is already built into my dll via lib files, so I am not sure why Labview needs dll versions of them to load mine.
09-24-2013 01:35 PM - edited 09-24-2013 01:35 PM
When you use the import wizard, is it crashing while trying to parse the header file? If so you may want to take a look at the following link and see if the recommended solution will help solve this issue.
http://digital.ni.com/public.nsf/allkb/9659956BEF356CBA8625793300548A71
Regards,
Shane C
09-24-2013 04:40 PM
No, it parses the header file just find and gives me a list of all the functions. It locks up when I try to open any of the VIs it creates.
09-25-2013 02:03 PM - edited 09-25-2013 02:03 PM
Could you post the dll file that you created so we can see if we can re-create this same freezing action? Also, what version of LabVIEW are you using?
Regards,
Shane C