Select Tools»Advanced»Mass Compile, select a directory or LLB in the file dialog box that appears, and click the Select Cur Dir or Open button to display this dialog box.
Use this dialog box to compile or recompile every VI in a directory or LLB. You cannot use this dialog box to compile a single VI or .llb file. You also can use the Mass Compile method to load and compile all the VIs in a directory programmatically.
 | Note If you select an LLB in the file dialog box that appears after you select Tools»Advanced»Mass Compile, LabVIEW displays the File dialog box. To select the entire LLB, click the folder icon with the single period (.) and click the Select button to display the Mass Compile dialog box. |
This dialog box includes the following components:
- Options—Specifies the options for compiling a group of VIs.
- Directory to compile—Specifies the location of the VIs that LabVIEW compiles. LabVIEW prompts you for this path when you open the Mass Compile dialog box. You can change the specified location in this text box by typing the new location or by clicking the Browse button and navigating to the location you want.
- Log Results—Sets whether to save the log data the Status page displays to a file that you specify. Type the location and filename in this text box or click the Browse button and navigate to the location and file you want. If the file you specify does not exist, LabVIEW creates a new file.
- Append—Sets whether the results should be added to the log file. If the file you specify already exists and you place a checkmark in the Append checkbox (default), LabVIEW adds the log text to the end of the log file. If you remove the checkmark from the Append checkbox, LabVIEW overwrites the existing log file.
- Cache VIs—Sets whether to keep a number of top-level VIs in memory after LabVIEW compiles them. You can specify how many VIs to cache at a time. The default is 10. LabVIEW can compile the directory or LLB faster if you select this option because it does not reload shared VIs and subVIs for each compile operation. However, VI caching consumes more system memory.
- Reload CINs—Sets whether to reload each CIN from the file system as LabVIEW compiles the VI that contains the CIN.
- Status—Displays the log text for the mass compile operation.
- Mass Compile—Compiles or recompiles every VI in a directory or LLB you select.