Invoke Node (.NET)

Owning Palette: .NET Functions

Requires: Base Development System (Windows)

Invokes a method or action on a reference. Most methods have associated parameters.

The node operates in the same way as a standard Invoke Node.

Details  

 Add to the block diagram  Find on the palette
reference is the refnum associated with the object on which you want to invoke a method or perform an action. If the Invoke Node class is Application or VI, you do not have to wire a refnum to this input. For the Application class, the default is the current application instance. For the VI class, the default is the VI containing the Invoke Node.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
input 1..n are example input parameters of a method.
reference out returns reference unchanged.
error out contains error information. This output provides standard error out functionality.
return value is an example return value of a method.
output 1..n are example output parameters of a method.

Invoke Node (.NET) Details

If you right-click the Invoke Node (.NET) and select Select Class».NET»Browse from the shortcut menu, LabVIEW displays the Select Object From Assembly dialog box.

On the front panel or block diagram, right-click a .NET object, select Create»Invoke Node, and select a method from the shortcut menu to invoke a method for the object. You also can invoke .NET-specific methods for a .NET object. On the block diagram, right-click a .NET object, select Create»Invoke Node, and select a .NET-specific method from the shortcut menu.

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.