Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

C# DLL import

Hello there,

 

I have a third-party C++ DLL that I cannot directly import into LabVIEW 8.5 because it incluses a function pointer, which is - from what I could see on the forum - not handled by LabVIEW.

So I have made a C# (.NET) DLL to handle this callback function (function pointer) so I can interface it with LabVIEW (hoped so). I have made a C# Test application and confirmed that my C# Dll is operational.

Unfortuenatly, I tried today to use that C# DLL into LabVIEW without any success.

From what I could read, only C++ DLLs can be imported (with "Call library function node").

There is also a .NET palette, but looks like (I am not sure about this) it can only handle .NET controls and not .NET DLL functions.

 

So, do I have no other choice than making the DLL in C++, or is there a way that I can use my C# DLL into LabVIEW ?

 

Thanks

Raphael

0 Kudos
Message 1 of 2
(4,058 Views)

I've just realized that I was not posting in proper forum. I duplicated my message on LabVIEW forum.

0 Kudos
Message 2 of 2
(4,046 Views)