LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does LabVIEW need an entry point in a DLL

We are trying to communicate with a time-to-digital converter card via a DLL provided by the manufacturer. However, this DLL does not seem to have a defined entry point as when we have used Visual Basic 6, VB it errors and tells us there is no entry point.

We can write a wrapper DLL in C but in terms of overheads it would be preferable to go to the original DLL direct.

I know labVIEW can easily load DLLs but can it load a DLL without an entry point? We have a header file which defines the functions.

I hope you can help.
0 Kudos
Message 1 of 3
(2,550 Views)
Hi,
 
The DLL will require an entry point in order for LabVIEW to communicate with it much the same as other languages, otherwise the DLL is a resource and not something useable. The only real way to get this working is to a) wrapper it in C as you noted or b) write the DLL from scratch with an entry point.
 
All the best,
Applications Engineer
0 Kudos
Message 2 of 3
(2,531 Views)
Rob,
     Thanks, looks like I'll have to make a wrapper.

0 Kudos
Message 3 of 3
(2,528 Views)