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

Front Panel:Run-Time Position:Custom Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: FP.Run-Time Position.Custom

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

Configures the referenced VI to open its front panel in a custom position 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 Custom from the Position pull-down menu on the Window Run-Time Position page of the VI Properties dialog box.

Parameters

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

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

 

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