12-16-2010 09:54 AM
Hello all,
Whenever i run the program the position of controls and indicators in sub panel changes so i wish to set the front panel which i am calling in sub panel to set its origin at top left corner. but i dont know how to do that.
Can anyone help me in this???
Thanks in advance...
Pals
12-16-2010 10:06 AM
You want the Panel Origin property.
http://digital.ni.com/public.nsf/allkb/D54DBBBE28385360862570CB007C3E05
12-19-2010 03:41 PM
Hi,
I tried this but when i call my vi at subpanel it still comes at different position, i mean lots of blank space at top and left so i hv to keep scroll bar, which i dont want for sub panel. Whenever i call my .vi in sub panel the position of called vi in subpanel changes.. So is there any solution...
Thanks so much..
Pals
12-19-2010 08:24 PM
Hi,
Did you Resize the window of the vi that you wanted to invoke into the sub panel and fixed it?... Can you post the screen shot of your FP?
12-20-2010 07:21 AM
When dealing with GUI's, consider using the OpenG VI named Fit VI window to Content.vi.
There are similar VI's out there as well, such as Rite Size.vi by kdy automation. I think it's free - Google it.
12-20-2010 10:01 AM
Hi All,
This is the sub vi which i need to call in sub panel.....
Scroll bar on mail vi is ok but to make all the controls ad indicators visible i need to keep on scroll of called vi also.
Thanks a lot...
pals
12-20-2010 10:54 AM
From the picture I can see the darker line that is the orgin half way down your front panel.
Set the orgin to 0,0 and move all your control into the area that is below and to the right of the orgin.
12-20-2010 10:59 AM
See where the vertical orgin line is on your front panel.
12-21-2010 03:26 AM
Hi Omar,
Sorry but one silly question how to set the Origin u told to (0,0)????
Thanks a lot......
12-21-2010 07:44 AM
<<< Have you done this yet?