Front Panel Window:Open Property

LabView Local Project Settings

Front Panel Window:Open Property

Short Name: FP.Open

Installed With: Base Package

Class: VI Properties

National Instruments recommends you use the Front Panel:Open method instead of this property to open the front panel window.

Reading this property indicates whether the window currently is open.

In certain situations, the value returned by this property might not be accurate. For example, if the window is hidden and you read this property, the property returns a value of TRUE. However, the window is not visible to the user.

Use the Front Panel:Open method to set the state of the window when you display it. Use the Front Panel Window:State property for more accurate information about the current state of the window. Use the Front Panel:Close method to close the window.

If you set this property to TRUE, LabVIEW displays the front panel window. If FALSE, LabVIEW closes the window. If no other references to the VI are open, LabVIEW removes the VI from memory. If you set this property to FALSE in a stand-alone application, the application stops.

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

If you set the boundaries of a front panel to be outside the boundaries of the screen, LabVIEW ignores those settings when you open the front panel. LabVIEW displays a portion of the window title bar so you can drag the window to another location on the screen. Use the Front Panel Window:Panel Bounds property to set the bounds of the front panel window.

Examples

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes
PermissionsRead/Write
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 disallowedNo
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes

Examples

Refer to the following VIs for examples of using the Front Panel Window:Open property:

  • VI Server - Changing Another VI's Properties VI: labview\examples\viserver\uicntrl.llb

     Open example  Browse related examples

  • FrontPanelStates VI: labview\examples\viserver

     Open example  Browse related examples