Creating .NET Objects in LabVIEW

Depending on the .NET platform you use, you can create .NET objects in LabVIEW on the block diagram and the front panel. Create .NET objects to give a VI access to functionality in a .NET assembly.

Table 50. .NET Platform Support for .NET Objects in LabVIEW
.NET Platform Supported .NET Object Locations Notes
.NET (Core) Block diagram
.NET Framework
  • Block diagram
  • Front panel

You can also add .NET Framework controls to the Controls palette for later use.

.NET Framework objects can be visible or invisible to the user. For example, buttons, windows, pictures, documents, and dialog boxes are visible to users. Application objects are invisible to users.

.NET Framework controls automatically use the user interface execution system.

In general, you create .NET objects in LabVIEW in the following ways:

  • Block diagram: Use a Constructor Node. Creates a .NET object and accesses properties and methods for the object.

    Use the .NET functions (Functions » Connectivity » .NET) to access the .NET objects and their associated properties and methods.

  • Front panel: Use a .NET Container control (Controls » .NET & ActiveX).