Requires: Base Development System
Class: Application Methods (ActiveX)
Places a VI in memory and returns the IDispatch pointer for the VI.
object.GetVIReference(viPath, [password], [resvForCall], [options])
Name | Type | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viPath | String | Absolute path to the VI placed in memory. | ||||||||||||||
password | String | If the VI is password-protected, you must enter the password to make any edits. | ||||||||||||||
resvForCall | Boolean | If TRUE, the VI is set to an execution state called reserved. You cannot edit a reserved VI because the VI can be called as a subVI at any time while its parent VI runs. Setting the VI to reserved at the time of the reference speeds up calls to the VI. However, this state does not support any of the edit mode properties or methods. To bring the VI out of the reserved execution state, close this reference and open a new reference by setting resvForCall to FALSE. If you are working with a reentrant VI, it is important to set this parameter to TRUE so that LabVIEW can call the VI efficiently. | ||||||||||||||
options | unsigned long | A bit set that specifies how the VI reference is treated. options can be a combination of the following values. The default is 0x10.
|
VirtualInstrument *