VI class/Front Panel Window.State property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 260
Scope Basic Development Environment
Data Name FP.State
Short Name* FP.State
Long Name* Front Panel Window:State
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Data Type Enum U32 data type

Enum U32

Property Node Front Panel Window:State
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Available with control VIsYes
Available with global VIsYes
Available with polymorphic VIsYes
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Must wait until user interface is idleNo
Need to authenticate before useNo
PermissionsRead/Write
Remote access allowedYes
Settable when the VI is runningYes

Current state of the front panel window.

A state of Standard or Maximized indicates that the front panel window is visible to the user.

If you attempt to set this property for a front panel window that is not open, the property returns an error.

If you load the VI in a subpanel control, this property is read only and always returns a value of Hidden.

You also can use the Front Panel:Open method to set the state of the front panel window when you display it.

Values
0 Invalid—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.
1 Standard—The front panel window is open but is not minimized, maximized, or hidden.
2 Closed—The front panel window is not open. If you set the property to this value, the property returns an error.
3 Hidden—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 Getting Started 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.
4 Minimized—The front panel window is minimized.
5 Maximized—The front panel window is maximized.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links