返回LabVIEW最近一次编译VI的编译器优化水平。该值可用来判断当前VI的复杂度是否超过阈值。如超过阈值,LabVIEW就要限制编译器的优化,将更多的资源用于响应速度。

该属性的作用类似于VI属性对话框中内存使用页的最近一次编译选项。该属性的值用来判断是否需要调整复杂度阈值,以改进被引用VI的执行速度。

错误条件

如引用的VI从未被编译过,该属性返回错误1000。

注释

下表列出了该属性的特性

短名称 Compiled.LastCompiledWith
数据类型 cenum.png
权限 只读
可用于运行引擎
可用于实时操作系统
可在VI运行时设置
加载前面板至内存
使用前必须授权
加载程序框图至内存
允许远程访问
必须等待直到用户界面空闲
可用于控件VI
可用于全局VI
可用于严格自定义类型
可用于多态VI
Partial compiler optimizations 0
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.
Full compiler optimizations 1
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.