Windows Connectivity

LabVIEW 2018 Help


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

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

LabVIEW provides access to other Windows-based applications using .NET or ActiveX technologies.

.NET refers to Microsoft's .NET technology. The .NET Framework is the programming basis of the .NET environment you use to build, deploy, and run Web-based applications, smart client applications, and XML Web services. You must install the .NET Framework. Refer to the Microsoft Developer Network (MSDN) Web site for more information about .NET and installing the framework.

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.

ActiveX refers to Microsoft's ActiveX technology and OLE technology. With ActiveX Automation, a Windows-based application, such as LabVIEW, provides a public set of objects, commands, and functions that other Windows-based applications can access. Refer to the MSDN documentation for more information about ActiveX.

  • Inside OLE, by Kraig Brockschmidt, second edition
  • Essential COM, by Don Box

Refer to ActiveX and LabVIEW at ni.com for more information about using ActiveX with LabVIEW.

Related Concepts

Callback VIs

Using .NET with LabVIEW

Using ActiveX with LabVIEW

Importing Web Services

Related How-To

Calling Non-Modal Windows Programmatically

Importing a Web Service as a Library of VIs

Registering and Handling .NET and ActiveX Events

WAS THIS ARTICLE HELPFUL?

Not Helpful