VI class/Front Panel.Run-Time Position.Get Position method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 445
Scope Basic Development Environment
Data Name FP.Run-Time Pos.Get
Short Name* FP.Run-Time Pos.Get
Long Name* Front Panel:Run-Time Position:Get Position
* 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:Run-Time Position:Get Position
Available in Real-Time Operating SystemNo
Available in Run-Time EngineYes (Read/Write)
Available with control VIsNo
Available with global VIsNo
Available with polymorphic VIsNo
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryYes
Must wait until user interface is idleNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

Returns the default position of the front panel window at run-time.

Parameters

Data type Name Required Description
Enum U32 Type No Returns whether the front panel is unchanged, centered, maximized, minimized, or has a custom setting.
Numeric Cluster Position No Indicates the top left coordinate of the front panel window position.
Numeric Cluster Size No Indicates the size of the window.
I16 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.
Boolean Use Current Position No Returns the value of the Use Current Position checkbox in the Window Run-Time Position dialog box.
Boolean Use Current Size No Returns the value of the Use Current Size checkbox in the Window Run-Time Position dialog box.

Uses

History

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

See Also

External Links