LabVIEWNXGModule.Execute

Syntax

LabVIEWNXGModule.Execute( sequenceContextParam, argumentsParam)

Purpose

Calls a LabVIEW NXG VI directly without using a step, sequence, or Execution.

Remarks

When you call a LabVIEW NXG module using this method you can evaluate the parameter expressions to determine the argument values or specify the argument values directly using a LabVIEWNXGArguments collection.

To use the parameter value expressions, pass a valid SequenceContext object to the sequenceContextParam to use to evaluate the LabVIEWNXGParameter.ValueExpr expressions.

To pass specific argument values, use the LabVIEWNXGParameters.NewArguments method to create a collection of LabVIEWNXGArgument objects and set the LabVIEWNXGArgument.Value property on each item in the collection and on each item in contained collections like the LabVIEWNXGArgument.Elements collection.

Parameters

sequenceContextParam As SequenceContext

[In] Specifies the SequenceContext object that this method uses to evaluate each of the LabVIEWNXGParameter.ValueExpr expressions in the module parameters. Pass NULL for this parameter if you pass a LabVIEWNXGArguments collection to the argumentsParam parameter.

argumentsParam As LabVIEWNXGArguments

[In] Specifies the argument collection that contains the argument values to pass to the VI. Pass NULL for this parameter to pass the values obtained from evaluating each of the LabVIEWNXGParameter.ValueExpr expressions in the module parameters.

See Also

LabVIEWNXGArguments

LabVIEWNXGArgument.Elements

LabVIEWNXGArgument.Value

LabVIEWNXGArguments

LabVIEWNXGParameter.ValueExpr

LabVIEWNXGParameters.NewArguments