Application:Compiler Threshold Property

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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.


The following table lists the characteristics of this property.

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


Not Helpful