コンパイル:前回コンパイル時の最適化レベル
- 更新日2025-07-30
- 3分で読める
このVIが最後にコンパイルされたときのコンパイラ最適化のレベルを返します。この値は、VIの複雑度が、エディタの応答性を優先させるためにコンパイラ最適化の制限を開始するしきい値を超えているかどうかを示します。
このプロパティを使用して、VIプロパティダイアログボックスのメモリ使用ページの最終コンパイルフィールドにプログラム的にアクセスできます。この値を元に、複雑度のしきい値を調節するとリファレンスVIの実行速度が向上するかどうかを判断できます。
発生する可能性のあるエラー
リファレンス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.
|
