Compiled:Last Compiled With Property

Short Name: Compiled.LastCompiledWith

Requires: VI Scripting

Class: VI Properties

To Use: Create a property.

Returns the level of compiler optimizations that LabVIEW last used to compile this VI. The value corresponds to whether the complexity of the VI was greater or less than the threshold at which LabVIEW begins limiting compiler optimizations to prioritize editor responsiveness.

This property provides programmatic access to the Last compiled with field on the Memory Usage page of the VI Properties dialog box. You can use this value to determine whether adjusting the complexity threshold can improve the execution speed of the referenced VI.

Possible Errors

This property returns error 1000 if the referenced VI has never been compiled.

Values

0Partial compiler optimizations—Indicates that the complexity of the referenced VI is greater than the last threshold used to compile the VI. VIs with this value may execute more quickly when compiled with a lower threshold.
1Full compiler optimizations—Indicates that the complexity of the referenced VI is less than the last threshold used to compile the VI. You cannot adjust the complexity threshold to improve the execution speed of a VI with this value.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead Only
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo