フロントパネルウィンドウの現在の状態を示します。

状態

Standard
または
Maximized
とは、フロントパネルウィンドウの表示状態を示します。

開いていないフロントパネルウィンドウに対してこのプロパティを設定しようとすると、プロパティはエラーを返します。

サブパネル制御器にVIをロードする場合、このプロパティは読み取り専用で、常に

Hidden

フロントパネル:開くメソッドを使用して、フロントパネルウィンドウ表示時のウィンドウの状態を設定することもできます。

備考欄

以下の表は、このプロパティの特性の一覧です。

短い名前 FP.State
データタイプ cenum.png
権限 読み取り/書き込み
ランタイムエンジンで使用可能 はい
リアルタイムオペレーティングシステムで利用可能 はい
VI実行中に設定可能 はい
フロントパネルをメモリにロード いいえ
使用前に認証が必要 いいえ
ブロックダイアグラムをメモリにロード いいえ
リモートアクセス可能 はい
ユーザインタフェースがアイドルになるまで待機 いいえ
制御VIで使用可能 はい
グローバルVIで使用可能 はい
指定タイプ定義で使用可能 いいえ
多態性VIで使用可能 はい
Invalid 0
If you read this property and an error occurs, the property returns this value. If you set the property to this value, the property returns an error.
Standard 1
The front panel window is open but is not minimized, maximized, or hidden.
Closed 2
The front panel window is not open. If you set the property to this value, the property returns an error.
Hidden 3
The front panel window is hidden. If you set the property to this value and close all references to the front panel, the window remains open but hidden. Because the VI is open, the スタートアップ window does not appear. To solve this problem, open the VI from the operating system. For example, double-click the VI in Windows Explorer to open the VI.
Minimized 4
The front panel window is minimized.
Maximized 5
The front panel window is maximized.

サンプルプログラム

LabVIEWに含まれている以下のサンプルファイルを参照してください。

  • labview\examples\Application Control\VI Server\VI Properties\VI Properties - Front Panel States.vi