MassCompile Method
Installed With: Base Package
Class: Application Methods (ActiveX)
Loads and compiles all the VIs in a directory, including any VIs in subdirectories, for the specified application instance.
This method is similar to the Mass Compile option on the Mass Compile dialog box.
Syntax
object.MassCompile(directory, [logFile], [appendLog], [viCacheSize], [reloadLVSBs], [User Stopped])
Parameters
Name | Type | Description |
---|---|---|
directory | String | Directory where the mass compile begins. |
logFile | String | File path where the results of the mass compile are placed. The default is no log file. |
appendLog | Boolean | Indicates whether results are appended to the log file. The default is FALSE. |
viCacheSize | Long | Number of VIs allowed to be in memory during the mass compile. The default is none. |
reloadLVSBs | Boolean | If TRUE, ignores CINs in VIs and the application searches for them. Use this parameter when a large number of CINs have been recompiled and need to be reloaded. The default is FALSE. |
User Stopped | Boolean indicator | Indicates whether the user stopped the mass compile operation. |
Return Value
none