LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to program the front panel size to fit different monitor resolution?

I have a LabView application developed in high resolution. When I work with lower resolution like 800x600, I cannot see the complete GUI and need to scroll aroud.
What can you do to resolve this?

If I do "File/VI Properties/Window Size" to check all the three properties, it works partly.. Unfortunately, the font size would not changed and messed up.
Message 1 of 17
(13,263 Views)
Mouse click right on the labview icon on the right side of your VI front
panel. Choose VI Properties and click on Window Size on the Category drop
down menu.
check "maintain proportion of window..." and so on.

Gérard


--
Gérard Férini
Switzerland
http://home.tiscalinet.ch/gferini/Main_Photos.html
remove -move to reply personally
"BLpig" wrote in message
news:50650000000800000090E60000-1079395200000@exchange.ni.com...
> I have a LabView application developed in high resolution. When I work
> with lower resolution like 800x600, I cannot see the complete GUI and
> need to scroll aroud.
> What can you do to resolve this?
>
> If I do "File/VI Properties/Window Size" to check all the three
> properties, it works partly.. Unfortunately, the font size would not

> changed and messed up.
Message 2 of 17
(13,263 Views)
The best way I've found is to design the front panel to the lowest resolution that it will be running on. Then it will look OK on anything larger than that.

Another option, though it's a bit more work, is to design a separate GUI for each resolution. You can read the monitor resolution and load the corresponding GUI, which would then call the real VI that does all the work.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 3 of 17
(13,263 Views)
well, that's exactly what I have done. But it didn't satisfy me. Because by this means, when we go from high to low like 800X600, yes everything shrinks -- but the FONT. And actually the font messed up the whole front panel....
Message 4 of 17
(13,263 Views)
The big problem for me to implement this method is: I have built this application... So it is impossible to rebuilt everything in a low R setup.
Message 5 of 17
(13,263 Views)
If you mean you have built this into an executable, and don't have the source code now to edit it, you really do have a problem. There is no way to change anything unless you have the source code.

If you do have the source code, then your only choice to get it to look good on an 800x600 screen is to go back and edit it. There's no magic setting that will fix the fonts.

Fonts are always a problem, especially on Windows. I've seen the same font look different on a PC that I dual boot between Win98 and XP set to the same resolution. It just takes a lot of planning and trial and error to get it right.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 6 of 17
(13,263 Views)
Just checking on the status of this issue. Because I am VERY unhappy to find this problem with Labview.

I have the very same problem, I've created a software suite in Labview 7.0 and when I create an executable for my users of the software, depending upon the vintage of their PC/operating system, the screen size for my GUI front panels is all over the place.

I actually consider this to be a major 'bug' in the NI Labview code and I really don't have the time to reconfigure all my GUI front panels to solve this problem.

I do hope there is an update/answer to this problem soon.
0 Kudos
Message 7 of 17
(13,263 Views)
click-right on the right upper corner of your applicaton icon, go to VI
properties and choose window size.
there are features you can select to resize your front pannel application.

Gérard


--
Gérard Férini
Switzerland
http://home.tiscalinet.ch/gferini/Main_Photos.html
http://www.pbase.com/ferini
remove -move to reply
ferini@move-bluewin.ch
"Blueside" wrote in message
news:50650000000500000049E00100-1079395200000@exchange.ni.com...
Just checking on the status of this issue. Because I am VERY unhappy
to find this problem with Labview.

I have the very same problem, I've created a software suite in Labview
7.0 and when I create an executable for my users of the software,
depending upon the vintage of their PC/operating system, the screen
size f
or my GUI front panels is all over the place.

I actually consider this to be a major 'bug' in the NI Labview code
and I really don't have the time to reconfigure all my GUI front
panels to solve this problem.

I do hope there is an update/answer to this problem soon.
Message 8 of 17
(13,263 Views)
Thanks I'll give this a try...otherwise I've got a lot of reconfiguring to do!
Message 9 of 17
(13,261 Views)
Hello,
 
   How do I read the screen size of the present monitor so that I can write some code to programaticcaly determine the size of a vi?
 
Regards,
 
Kaspar
Regards,


Kaspar
0 Kudos
Message 10 of 17
(12,093 Views)