Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Front Panel Window:State Property

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: FP.State

Requires: Base Development System

Class: VI Properties

To Use: Create a property.

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.

Example

Values

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

Remarks

The following table lists the characteristics of this property.

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

Example

Refer to the VI Properties - Front Panel States VI in the labview\examples\Application Control\VI Server\VI Properties directory for an example of using the Front Panel Window:State property.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit