Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I import a .NET C++ class lib into LabView?

We currently use LabWindows/CVI, and are looking into using it along with Microsoft Visual Studio .NET C++.  What I wanted to know is, can our customers who use LabView import and use function calls that were created in C++ as class libraries?  I know they can use libraries we create in C with CVI.
 
Thanks,
 
Judy Harrigan
0 Kudos
Message 1 of 3
(9,054 Views)

Hi Judy,

You mentioned programming in C++, but failed to make clear if its managed C++ or unmanaged C++ (MFC). If you were developing managed C++ (or C++/CLI) you would be creating .NET assemblies. In that case, yes, LabVIEW can call .NET assemblies. Check out the Using .NET with LabVIEW online help topic.

If you were using unmanaged C++, then you will be creating Win32 DLLs. In that case, you will need to use the Call Library Function Node in LabVIEW to call your DLL.

Hope this helps!

Best Regards,

 
Jonathan N.
National Instruments
0 Kudos
Message 2 of 3
(9,045 Views)

Many Thanks!

Judy

0 Kudos
Message 3 of 3
(9,041 Views)