Calling a .NET DLL is different than calling a C-based DLL in LabVIEW. In this example, we will demonstrate how to call functions in .NET DLL for .NET framework 4.
We will start by using a
BinarySearch method of the
Array class. In order to work with .NET DLL based on framework 4 and above, we have to create a configuration file.
LabVIEW.exe.configfile needs to be created with content shown in the following screenshot. The file needs to be placed in the same LabVIEW folder where
LabVIEW.exeis located, inside the LabVIEW installation folder.