Call2 Method
Installed With: Base Package
Class: VI Methods (ActiveX)
Calls the VI as a subVI. Optionally, you can open the front panel of the VI and close it after the call is over. You also can suspend the VI when called.
Syntax
object.Call2([paramNames], [paramVals], [openFP], [closeFPAfterCall], [suspendOnCall])
Parameters
Name | Type | Description |
---|---|---|
paramNames | array of strings by ref | Names of the LabVIEW front panel objects that act as input and output parameters to the call. |
paramVals | array of variants by ref | Input values for the input parameters and return values from the output parameters in the order in which the names were specified in paramNames. Designates the front panel object values for the input parameters. The values of parameters can be numeric, Boolean, string, or array. A cluster in LabVIEW is represented as an array of variants in ActiveX. |
openFP | Boolean | Open front panel of the VI |
closeFPAfterCall | Boolean | Close front panel of the VI after the call if it was not already open. |
suspendOnCall | Boolean | Suspend the VI (Pause the execution) on call. |
Return Value
none