Front Panel:Run-Time Position:Get Position
- Updated2025-07-30
- 3 minute(s) read
Returns the default position of the front panel window at run-time.
Parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| Type | ![]() |
No | Returns whether the front panel is unchanged, centered, maximized, minimized, or has a custom setting. |
| Position | ![]() |
No | Indicates the top left coordinate of the front panel window position. |
| Size | ![]() |
No | Indicates the size of the window. For single-pane front panels, Size refers to the content area of that pane, not including the scroll bars. For multi-pane front panels, Size refers to the entire front panel, including any visible scroll bars. LabVIEW returns an error if you set the width or height to 0 or set the width or height less than the minimum window size. |
| Monitor | ![]() |
No | Specifies the monitor on which the front panel window appears, if you have multiple monitors. The value 0 is the primary monitor and is the default value. If you specify a value other than 0, the VI runs on that monitor. If you specify a monitor number greater than the number of monitors on the system, or if you specify a negative number, LabVIEW returns an error. The monitor number corresponds to the video card you plug the monitor in to. |
| Use Current Position | ![]() |
No | Returns the value of the Use Current Position checkbox in the Window Run-Time Position dialog box. |
| Use Current Size | ![]() |
No | Returns the value of the Use Current Size checkbox in the Window Run-Time Position dialog box. |
Remarks
The following table lists the characteristics of this method.
| Short Name | FP.Run-Time Pos.Get |
| Data type | No return value |
| Available in Run-Time Engine | Yes |
| Available in Real-Time Operating System | No |
| Settable when the VI is running | Yes |
| Loads the front panel into memory | Yes |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |
| Must wait until user interface is idle | No |
| Available with control VIs | No |
| Available with global VIs | No |
| Available with strict type definitions | No |
| Available with polymorphic VIs | No |



