Invoke Node (.NET)

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.


icon

Inputs/Outputs

  • cgnrn.png reference
    reference is the refnum associated with the .NET object on which you want to invoke a method or perform an action.
  • cerrcodeclst.png error in (no error)
    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
  • cpoly.png Method
    input 1..n are example input parameters of a method.
  • ignrn.png reference out
    reference out returns reference unchanged.
  • ierrcodeclst.png error out
    error out contains error information. This output provides standard error out functionality.
  • ipoly.png Method
    return value is an example return value of a method.
  • param

    output 1..n are example output parameters of a method.

  • 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.