LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate dll in LabVIEW

Hello,

I have the following problem: I have created a DLL in LabVIEW that I want to use in C#. The method is theoretically exactly the same example shown on National Instruments. However, the C# compiler tells me that the DLL cannot be loaded. The code is visible in the image. Does anyone know why the DLL is not being loaded or recognized?

Thanks in advance!

Oli234_0-1691140468070.png

 

0 Kudos
Message 1 of 3
(991 Views)

You use LabVIEW 32-bit and a 64-bit C# IDE (or vice versa)?

You try to use this DLL on the same PC as on which you developed it or on a different one?

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(978 Views)

Instead of C DLL, why don't you build an .NET Interopp Assembly instead?

How Do I Use a LabVIEW-Built Shared Library in a .NET Project?

Characteristics of LabVIEW-Built.NET Interop Assemblies

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 3 of 3
(932 Views)