编译:最近一次编译
- 更新时间2025-07-30
- 阅读时长2分钟
返回LabVIEW最近一次编译VI的编译器优化水平。该值可用来判断当前VI的复杂度是否超过阈值。如超过阈值,LabVIEW就要限制编译器的优化,将更多的资源用于响应速度。
错误条件
如引用的VI从未被编译过,该属性返回错误1000。
注释
下表列出了该属性的特性。
| 短名称 | Compiled.LastCompiledWith |
| 数据类型 | ![]() |
| 权限 | 只读 |
| 可用于运行引擎 | 是 |
| 可用于实时操作系统 | 是 |
| 可在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.
|
