LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

controlling front panel size

Arg. I'm using LabVIEW 6,1 on Mac OS 9. When I place a control on my
front panel, and then move it upwards tobe near the edge of the panel,
LabVIEW just creates more front panel above control! All my stuff can
fit on a panel that fits within my screen, but LabVIEW, with the
behavior I describe above, is choosing to make my panel bigger that I
want. Why does it do this, and how do I stop it?

I'd like to crowd all my controls into the corner of the panel, but
LabVIEW just makes more panel!

-Jeff

--
Jeffrey W Percival, Senior Scientist and Associate Director
Space Astronomy Laboratory, University of Wisconsin - Madison
1150 University Ave, Madison, WI 53706 USA
608-262-8686 (fax 608-263-0361) jwp@sal.wisc.edu
http://www.sal.wisc.edu/~jwp
0 Kudos
Message 1 of 9
(3,580 Views)
Hi,

Attached is a small example that moves a control to the top, left hand control of the panel.

This is done by obtaining the FP.Origin values and passing to the control position values.

Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 9
(3,580 Views)
Are you saying that the physical size of the window expands or the area of the front panel expands because you see the scroll bars adjust? The latter case is normal and you can edit your VI not to scroll when it is running. Open your VI >> file >> vi properties >> window appearance >> customize >> uncheck show scroll bars. This way you get the front panel to show what you want the user to see, and you can hide controls off screen that the user cannot scroll to.
0 Kudos
Message 3 of 9
(3,580 Views)
This problem looks similar to one I posted for some weeks ago (5/11). I believed Tab Control was the problem, but are not sure). LV creates a huge front panel area around the "true" front panel. When running VI I see only the wanted panel, but when I print it out I get several pages. I still havent found the solution...
0 Kudos
Message 4 of 9
(3,580 Views)
Sorry for not being more clear. The latter is what I'm seeing.

This procedure illustrates my complaint:
1. open a new VI. I see no scrollbars.
2. drop a push button in the upper left corner. Scrollbars appear.
3. drag scrollbars to the beginning of their ranges.
4. button appears moved away from corner!
5. drop new button in corner.
6. scrollbars appear.
7. push scrollbars to origin
8. 2nd button is away from corner, 1st button is near the center!

Is this the expected behavior?

Jeremy Braden wrote:

> Are you saying that the physical size of the window expands or the
> area of the front panel expands because you see the scroll bars
> adjust? The latter case is normal and you can edit your VI not to
> scroll when it is running. Open your V
I >> file >> vi properties >>
> window appearance >> customize >> uncheck show scroll bars. This way
> you get the front panel to show what you want the user to see, and you
> can hide controls off screen that the user cannot scroll to.

--
Jeffrey W Percival, Senior Scientist and Associate Director
Space Astronomy Laboratory, University of Wisconsin - Madison
1150 University Ave, Madison, WI 53706 USA
608-262-8686 (fax 608-263-0361) jwp@sal.wisc.edu
http://www.sal.wisc.edu/~jwp
0 Kudos
Message 5 of 9
(3,580 Views)
Hi,

Yes it is expected.


Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 6 of 9
(3,580 Views)
> Is this the expected behavior?
>

This is commonly referred to as having a virtual page size, and yes,
panels and diagrams are intended to work this way. Because there is a
scrollbar there doesn't mean that it has to be scrolled, and this scroll
area doesn't affect printouts, if that is your concern.

Greg McKaskle
0 Kudos
Message 7 of 9
(3,584 Views)
Hello,
It appear 3 years later I am running into the issue described in this thread.

I need to created a pop-up diagram window, and so would like not to have that extra space automatically put in the window by labview.
Is there a way to circum vent this?

thanks
phil [using labview 5.0, and no I can't upgrade unfortunately due to the station i am working on]
0 Kudos
Message 8 of 9
(3,493 Views)
Hello Philip,

You can hide the scroll bars as Jeremy mentioned, and this way when your VI is running, user sees only the intended portion of the VI. In LabVIEW 5.0 you can hide the scrollbars in the following way: Right click on the VI icon on the front panel and select VI Setup, then go to Window Options and uncheck the Show Scroll Bars checkbox.

Hope this helps and good luck with your application!
Shakhina P.
Applications Engineer
National Instruments
0 Kudos
Message 9 of 9
(3,474 Views)