VI class/Front Panel.Open method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 438
Scope Basic Development Environment
Data Name FP.Open
Short Name* FP.Open
Long Name* Front Panel:Open
* 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
Return Data Type No return value
Invoke Node Front Panel:Open
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
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
Remote access allowedYes
Settable when the VI is runningYes

Opens the front panel window. If the front panel is already open, this method changes the state of the front panel window to the state you wire to this method.

Use the Front Panel:Close method to close the front panel window.

You also can use the Front Panel Window:State property to set the state of a front panel window that is already open.


Data type Name Required Description
Boolean Activate? No
Enum U32 State No Sets the state in which to open the front panel window.


Minimize a caller VI while a subVI is running.

If you would like to minimize the caller VI, for example if you have a main VI that does essentially nothing while the subVI that it calls is executing, you need to reference your calling VI. So upon calling your subVI the first action would be to open a reference to your calling VI and size its front panel appropriately by using the VI Property Node. Then when exiting the subVI after completing execution you can restore the calling VI's front panel to its original size and close the reference.

Under Windows 98/2000 you can effect the above behavior with a couple of simple calls to the user32.dll API. First you get a handle to the window of the calling VI (or other Window) and then call either:




The info on making the calls can be found for free at Microsoft at:

or by going to and search on ShowWindow or AnimateWindow.


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

See Also

External Links