Front Panel:Run-Time Position:Maximized Method

Short Name: FP.Run-Time Position.Maximized

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

Configures a VI to maximize its front panel every time the VI runs. If the VI is running when you call this method, the change does not take effect until the next time the VI runs.

If you want to change the position of the VI while it is running, use the Front Panel Window:Window Bounds property instead.

This method is similar to selecting Maximized from the Position pull-down menu on the Window Run-Time Position page of the VI Properties dialog box.

Parameters

Data typeNameRequiredDescription
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.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
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 allowedYes
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes