From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating New Controls/Objects in Multi-Pane Front Panel

Hello everyone, I have an issue with creating new objects into the front panel.

 

The issue occurs only if we have multiple panes in the FP.

 

I will first go with the details of the Panes and Splitters before getting into the issue.

 

From the NI documentation over here Designing User Interfaces >> Using Splitter Bars and Panes, explains the relation between Splitters and Panes.

 

Its_Me_Ashiq_1-1595529778359.png

 

 

With these details, I have created the following VI,

 

FP Top Pane Test.png

 

Its_Me_Ashiq_6-1595531418438.pngIts_Me_Ashiq_7-1595531497110.pngIts_Me_Ashiq_8-1595531716950.pngIts_Me_Ashiq_9-1595531883207.pngIts_Me_Ashiq_10-1595532071052.png

 

 

With this setup, I can continue to build my UI.

 

Dragging and dropping the required objects into the desired panes is quiet normal.

Its_Me_Ashiq_11-1595532513133.png

Its_Me_Ashiq_16-1595533011395.png

Everything is fine here.

 

 

ISSUE:

 

But if we create any object from the Block Diagram, it always created/goes to one particular pane.

Its_Me_Ashiq_13-1595532825947.pngIts_Me_Ashiq_14-1595532860794.pngIts_Me_Ashiq_15-1595532946005.png

Its_Me_Ashiq_17-1595533072030.png

 

 

If we have reduced the Pane area for some purpose, and then create new objects, they can go beyond the accessible area.

Its_Me_Ashiq_19-1595533695008.png

Its_Me_Ashiq_20-1595533835364.png

 

 

I think this is happening due to the design principles of Splitters and Panes in LabVIEW.

image.png

 

So, whenever an object is created from the BD, it goes to/created in the Top Pane of the Front Panel.

 

If we can see in the list of panes obtained form the property node, pane named Pane is in the top. That's the reason objects created from BD goes to that pane.

image.png

 

 

QUERIES:

  1. Is there any way to change the order of panes of a VI-FP, at least for Edit Time?
  2. Is there any way to select a Pane as Top Pane? so that further created objects will appear in that pane.
  3. Is there any way in BD for an Object to explicitly mention/select the pane at which it resides?

 

 

 

Thanks for spending your time to read this topic 👍.

 

Thanks in advance for suggestions and responses 😇.

0 Kudos
Message 1 of 1
(1,646 Views)