Select Tools»Advanced»Mass Compile and select a directory or LLB in the file dialog box that appears to display this dialog box.
Use this dialog box to compile or recompile a directory of VIs or an 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. Refer to the Mass Compiling VIs help topic for more information about when and how to mass compile VIs.
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.
Log results path—Specifies the file path of the log results.
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.
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. If you mass compile a folder that contains VIs with the same name in different subfolders and the VIs do not belong to a library, VI caching may cause cross-linking.
VIs to cache—Specifies the number of VIs allowed in memory during the mass compile. The default is 10.
Include warnings for read-only VIs—Determines whether the mass compile results include warnings next to the read-only VIs.
Status—Displays the log text for the mass compile operation. You may receive messages under the Status tab. When you receive a message, open the VI listed. If the VI has an error, fix the error in the VI before trying to mass compile again.
Mass Compile—Compiles or recompiles every VI in a directory or LLB you select.