07-23-2020
03:50 PM
- last edited on
06-03-2025
10:28 AM
by
Content Cleaner
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.png
Its_Me_Ashiq_7-1595531497110.png
Its_Me_Ashiq_8-1595531716950.png
Its_Me_Ashiq_9-1595531883207.png
Its_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.png
Its_Me_Ashiq_14-1595532860794.png
Its_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:
Thanks for spending your time to read this topic 👍.
Thanks in advance for suggestions and responses 😇.