Constructor Node

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

Owning Palette: .NET Functions

Requires: Base Development System (Windows)

Creates an instance of a .NET object. This node identifies the constructor from which to create a .NET object.

Details  Examples

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
new reference returns the reference to a .NET object.
error out contains error information. This output provides standard error out functionality.

Constructor Node Details

When you place this node on the block diagram, LabVIEW displays the Select .NET Constructor dialog box. You also can double-click the node to display the dialog box. Some constructors can contain initialization parameters you can use to create a .NET object in a particular state. Not all constructors have initialization parameters.

Tip  If you encounter problems loading a particular assembly or accessing objects in an assembly, debug the assembly call or use the .NET Assemblies in Memory dialog box to verify that the correct version of the assembly is in memory.

Examples

Refer to the following VIs for examples of using the Constructor Node function:

  • Calling a Private .NET Assembly VI: labview\examples\Connectivity\Dot NET
  • Task Monitor Using .NET Objects VI: labview\examples\Connectivity\Dot NET

WAS THIS ARTICLE HELPFUL?

Not Helpful