Constructor Node

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

 Add to the block diagram  Find on the palette
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: