Mass Compile
- Updated2025-07-30
- 2 minute(s) read
Loads and compiles VIs in a directory, including VIs in subdirectories, for the specified application instance.
This method is similar to the Mass Compile option in the Mass Compile dialog box.
Parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| Directory to Compile | ![]() |
Yes | Specifies the directory where the mass compile should begin. |
| Log File Path | ![]() |
No | Specifies a file path where results of the mass compile should be placed. The default is no file. |
| Append to Log File | ![]() |
No | Specifies whether results should be appended to the log file. The default is FALSE. |
| Number of VIs to Cache | ![]() |
No | Specifies the number of VIs that should be allowed to remain in memory during the mass compile. The default is none. |
| Reload LVSBs | ![]() |
No | If TRUE, causes CINs in VIs to be ignored and the application to search for them. Useful when a large number of CINs have been recompiled and need to be reloaded. The default is FALSE. |
| User Stopped | ![]() |
No | Indicates whether the user stopped the mass compile operation. |
Remarks
The following table lists the characteristics of this method.
| Short Name | Mass Compile |
| Data type | No return value |
| Available in Run-Time Engine | No |
| Available in Real-Time Operating System | No |
| Remote access allowed | Yes |



