LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with the importing wizard

Hei,

 

I have a dll which I want to import to the Labview project. So, I decided ti use the import wizard, but when parsing the header file, Labview freezes. I am using a couple of structures (3) and a handle. I have also read that the wizard has problems when dealing with complex data. What would be best solution for adding it to the project? To in a way "unbundle" the struct and then create a many simple variables and then parsed to dll.  (This would be a pain)

How to deal with the handle or will wizard easy understand that?

 

I am really looking for a painless solution 🙂 

 

thanks for the help

 

 

0 Kudos
Message 1 of 3
(2,491 Views)

Which LabView are you import the DLL? Is the LabView 32 or 64 bits? what is the DLL 32 or 64 bits???

Einstein proved by taking time in thinking about a problem he proved there is no such thing as gravitational pull. Therefore, given enough time and thought a problem can be solved. If the problem is not solved then there has not been enough thought.
0 Kudos
Message 2 of 3
(2,470 Views)
Can you post the header file for the DLL?

Through a process of trial and error you could determine which functions causes problems with the wizard (comment out half the functions, attempt to import, repeat) and then manually create the LabVIEW VIs for the troublesome ones. If there aren't too many functions, you could do it all by hand, which isn't that hard if you have some understanding of C (and if you don't, you'll undoubtedly have other problems when the wizard doesn't do the right thing).
0 Kudos
Message 3 of 3
(2,465 Views)