This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

How Do I Use a LabVIEW DLL in Microsoft Visual Studio .NET?

Updated Feb 8, 2018

Reported In


  • LabVIEW Professional
  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Application Builder Module


Microsoft Visual Studio

Issue Details

I created a DLL using LabVIEW and would like to call functions from the DLL in Microsoft Visual Studio.


Managed code (.NET) can easily call functions contained in unmanaged DLLs, such as Win32 API and custom DLLs. To do this, the .NET Framework provides a mechanism called P/Invoke (for Platform Invoke). Refer to the related links section for examples and further information.