Compile:VI Method

Short Name: Compile

Requires: VI Scripting

Class: VI Methods

To Use: Create a method.

Compiles the VI and optionally the entire VI hierarchy of that VI.

Note  This method does not show a modification, or asterisk (*) in the title bar, for the VI unless you included the 0x01 option flag as part of the options input to the Open VI Reference function when you opened the VI reference.

Parameters

Data typeNameRequiredDescription
Compile Entire HierarchyNoCompile Entire Hierarchy specifies whether to compile all VIs within the VI hierarchy of the referenced VI. The VI hierarchy includes all VIs that call the VI as well as all subVIs that the VI calls. If you set this parameter to TRUE, subVIs indicate that they were modified by displaying an asterisk (*) in their title bar the next time you open them. By default, this parameter is FALSE.
Force CompileNoForce Compile specifies whether to compile the VI even if the VI does not need to be recompiled. By default, this parameter is TRUE.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo