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

Name Data type Required Description
Compile Entire Hierarchy (F) cbool.png No

Compile 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 Compile (T) cbool.png No

Force 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.

Short Name Compile
Data type No return value
Available in Run-Time Engine Yes
Available in Real-Time Operating System Yes
Settable when the VI is running No
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes
Must wait until user interface is idle No
Available with control VIs No
Available with global VIs No
Available with strict type definitions No
Available with polymorphic VIs No