Application:Compiler Threshold Property

Short Name: App.CompilerThreshold

Requires: VI Scripting

Class: Application Properties

To Use: Create a property.

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.

Data type
PermissionsRead/Write
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
Remote access allowedYes