Call2 Method

LabView ActiveX Properties and Methods

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

NameTypeDescription
paramNamesarray of strings by refNames of the LabVIEW front panel objects that act as input and output parameters to the call.
paramValsarray of variants by refInput 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.
openFPBooleanOpen front panel of the VI
closeFPAfterCallBooleanClose front panel of the VI after the call if it was not already open.
suspendOnCallBooleanSuspend the VI (Pause the execution) on call.

Return Value

none