Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Front Panel:Run-Time Position:Get Position Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: FP.Run-Time Pos.Get

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

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

Parameters

Data typeNameRequiredDescription
TypeNoReturns whether the front panel is unchanged, centered, maximized, minimized, or has a custom setting.
PositionNoIndicates the top left coordinate of the front panel window position.
SizeNoIndicates 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.
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.
Use Current PositionNoReturns the value of the Use Current Position checkbox in the Window Run-Time Position dialog box.
Use Current SizeNoReturns 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.

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 memoryYes
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit