Using .NET with LabVIEW

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

The .NET Framework allows you to access Windows services such as the performance monitor, event log, and file system, as well as advanced Windows APIs such as the Speech Recognition and Generation service. The .NET Framework also provides access to Web protocols such as SOAP, WSDL, and UDDI.

You can use LabVIEW as a .NET client to access the objects, properties, methods, and events associated with .NET servers. You also can host .NET user interface controls on the front panel of a VI. Although LabVIEW is not a .NET server, you can communicate to LabVIEW remotely with the ActiveX server interface through .NET support for COM objects.

Note  Creating and communicating with .NET objects in LabVIEW requires the .NET CLR 4.0 that installs with LabVIEW. You must use a .NET 2.0 configuration file if you want to load .NET 2.0 mixed-mode assemblies. Refer to the requirements for using .NET with LabVIEW for more information about .NET restrictions in LabVIEW.

National Instruments strongly recommends that you use .NET objects only in LabVIEW projects.

Be sure to save .NET assemblies in appropriate locations to ensure that they load and behave as expected.

WAS THIS ARTICLE HELPFUL?

Not Helpful