Application:Compiler Threshold
- Updated2025-07-30
- 1 minute(s) read
Gets or sets how complex a VI must be before the compiler limits optimizations to improve editor responsiveness. If the complexity of a VI is lower than the threshold indicated by this value, the compiler does not limit optimizations, thereby improving the execution speed of the VI. If the complexity of a VI is higher than the threshold, the compiler limits optimizations in order to improve editor responsiveness for the VI.
To determine the complexity of a specific VI, refer to the Compiled Code Complexity value on the Memory Usage page of the VI Properties dialog box or use the Compiled:Code Complexity property.
This property provides programmatic access to the Compiler optimizations slider on the Environment page of the Options dialog box.
Possible Errors
If you set this property to a value greater than 10, this property returns error 1.
Remarks
The following table lists the characteristics of this property.
| Short Name | App.CompilerThreshold |
| Data type | ![]() |
| Permissions | Read/Write |
| Available in Run-Time Engine | No |
| Available in Real-Time Operating System | No |
| Remote access allowed | Yes |
