Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Compile:VI Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit