Showing results for 
Search instead for 
Did you mean: 

How adjust front panel placement of a sub VI in the subpanel

Go to solution

Ok so I've learnt how to use tabs and how to place Sub VI's in the tabs. Last, I would like to change the position of the front panel of some of these sub VI's

because they're not positioned to my liking 😄 
Whats the way to go?

0 Kudos
Message 1 of 5

_Faust wrote:
Whats the way to go?


You know the way to post your vi? That is the first way to go further.  Smiley Wink

Message Edited by Mathan on 02-15-2010 06:14 AM
0 Kudos
Message 2 of 5

hah ok. I would like to but currenntly Im at my laptop and have no access to my VIs. Will do so when Im back  at the office.


However, isnt this a general setting or feature where one can choose how the frontpanel is displayed and/or how big it is.

I know that for a separate VI you can alter this in the properties window.  Thank you for your reply though

0 Kudos
Message 3 of 5

Hi Faust,


If you take a look at properties of your VI, you can change quite a lot on your front panel.


See enclosed picture for the Front Panel properties that you can modify.



Peter S

Message 4 of 5
Accepted by topic author _Faust

by default, a VI loaded into a subpanel will show up with the same FP position as when you last saved it.  That's not often what you want, and it's easy to move the FP around inside the window and forget you're changing it.  But this should be good enough to get going.


one trick that I use is to load the subvi into the subpanel with the same origin in each.  So both the front panel and the pane that it is in have their own coordinates.  For the pane (which is normally the window boundary, and here is the subpanel boundary) the origin is 0,0 at the upper left corner.  On the front panel, look for a little dot with the grid visible.  That's (0,0) on the FP.


So what we can do programmatically is to use property nodes to set the pane origin to the front panel origin:


pane to origin.png (LV2009f2)


 ok so the snippet ate my constant but there should be two 0's (I32) in that cluster.  Just create a constant on the Origin property and it'll make it.



Message 5 of 5