Front Panel:Run-Time Position:Centered Method

LabView Local Project Settings

Front Panel:Run-Time Position:Centered Method

Short Name: FP.Run-Time Position.Centered

Installed With: Base Package

Class: VI Methods

Sets a VI to center its front panel every time the VI runs.

For single-pane front panels, minimum size refers to the content area of that pane, not including the scroll bars. For multi-pane front panels, minimum size refers to the entire front panel, including any visible scroll bars.

Parameters

NameRequiredDescription
MonitorNoSpecifies 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.
SizeNoIndicates the size of the window when centered. 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.

Remarks

The following table lists the characteristics of this method.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read/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