DLL Can Not be Read into LabVIEW Using Import Shared Library Wizard

Updated Apr 3, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have a DLL library from some third party company (camera, CAN/LIN protocols, etc.). I want to import it using Import Shared Library Wizard, but when I do, I get the message that some functions are not found and not recognized in the header file: 

Solution

If the definitions of the functions, which are listed as 'not found', do actually exist in the header file, they are not recognized most probably because of the usage of complex Structs datatypes in the prototypes of the functions. 

Generally in this situation, you would have to manually create the wrappers for these functions using Call Library Function Nodes .VI. More information on how to do it, together with a short tutorial can be found here:  
Tutorial: Configuring the Call Library Function Node to call a Simple DLL  
Configuring the Call Library Function Node (LabVIEW Help)

Unfortunately with the functions which are not implemented in the header file, you would have to contact the provider of the DLL library to find out the prototype of the functions (if you actually need these functions in your application). 

WAS THIS ARTICLE HELPFUL?

Not Helpful