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.
This property returns error 1000 if the referenced VI has never been compiled.
|0||Partial 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.|
|1||Full 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.|
The following table lists the characteristics of this property.
|Available in Run-Time Engine||Yes|
|Available in Real-Time Operating System||Yes|
|Settable when the VI is running||No|
|Loads the front panel into memory||No|
|Need to authenticate before use||No|
|Loads the block diagram into memory||No|
|Remote access allowed||Yes|
|Must wait until user interface is idle||No|
|Available with control VIs||No|
|Available with global VIs||No|
|Available with strict type definitions||No|
|Available with polymorphic VIs||No|