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.
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Read/Write |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | Yes |
Examples
Refer to the following VIs for examples of using the Front Panel Window:Open property: