LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

front panel fit to full screen

Solved!
Go to solution

Hello,

 

I'm a LabVIEW beginner, who is doing thesis about monitoring system in electrical vehicle. I have made the monitoring VI on 17'' laptop, resolution 1600 x 900, and I want to have my front panel as full screen, without any grey space around it. I have followed the instructions on this topic:

http://forums.ni.com/t5/LabVIEW/Shrinking-the-size-of-full-front-panel-to-fit-screen-resolution/m-p/...

and I got the front panel while running as shown in the picture below. And we are having 8'' touch panel in the car, so I need the tab control in front panel over the whole screen.

So how can I shred only the tab control (with important information) of the front panel on the fullscreen?

 

Thank you in advance.

18-6-2013- 21-46-47.png

 

 

0 Kudos
Message 1 of 11
(9,197 Views)

You can get the panel size-property and size change event and recalculate and reposition stuff if needed. It's some work, but gives the best solution.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 11
(9,183 Views)

Could you please explain me how to get to this property, and how to use it?

 

Thank you in advance.

0 Kudos
Message 3 of 11
(9,171 Views)

rt click on your tab control>>create>>property node>>pane dimension..

dynamic event_BD.png

0 Kudos
Message 4 of 11
(9,156 Views)

@ljobe_CRO wrote:

Hello,

 

I'm a LabVIEW beginner, who is doing thesis about monitoring system in electrical vehicle. I have made the monitoring VI on 17'' laptop, resolution 1600 x 900, and I want to have my front panel as full screen, without any grey space around it. I have followed the instructions on this topic:

http://forums.ni.com/t5/LabVIEW/Shrinking-the-size-of-full-front-panel-to-fit-screen-resolution/m-p/...

and I got the front panel while running as shown in the picture below. And we are having 8'' touch panel in the car, so I need the tab control in front panel over the whole screen.

So how can I shred only the tab control (with important information) of the front panel on the fullscreen?

 

Thank you in advance.

18-6-2013- 21-46-47.png

 

 


If you're simply trying to run a vi full-screen on your laptop but wanting to have Tab control cover full-screen when you run it on a 8" touch panel, there are easier ways to do that.  Attached is an example.

You can set the vi to run full-screen through File->VI properties->Window Run-Time Position->Position.

 

If you want only the Tab control to resize with the screen, right-click on its border and select "Scale object with pane" (you can do that with most controls and indicators)

 

If you want all controls/indicators to resize with the screen, File->VI Properties->Window Size->"Scale all objects on front panel as the window resizes" (there is also "Maintain proportions of window for different monitor resolutions" option).

 

Place your tab control on top left corner of the vi and that would do the job. Are you wanting to center the Tab control and automatically reposition it/etc? Seems like what you're trying to do can be done in a much simpler fashion...

 

-DP

--------------------------------------------------------

New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI


0 Kudos
Message 5 of 11
(9,143 Views)

I was following your instructions and nothing really happened. Maybe I was wrong somewhere, so in attachment I'm sending you my VI, with modifications you suggested me, so you can see it. 

Yes, I would like to have it centered, either way but just for tab control, with its controls to be proportionaly enlarged over the whole screen.

Thank you in advance. 

0 Kudos
Message 6 of 11
(9,110 Views)

Seems like it doesn't do what you're expecting because you have a few things in it mixed up. What is the resolution of your 8" touch panel?

 

-DP

 

--------------------------------------------------------

New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI


0 Kudos
Message 7 of 11
(9,097 Views)

I don't have the touch panel by myself currently, but I'm pretty sure that the resolution is 800 x 600.

0 Kudos
Message 8 of 11
(9,087 Views)

From your messages, I'll assume that you're not wanting to "resize" any controls, but just want to "reposition" the TAB control?  (If you do want to resize the controls as well, you'd have to take the attached vi and change vi properties as described in previous message to resize automatically according to screen resolution.

 

Attached vi has repositioning of Tab control to the center of screen if your resolution is 1600x900 or more. (Well, it's made to trigger with width resolution more than 1500, but I'm sure you'll get the idea on how it is doing things). In any smaller resolution it repositions Tab control to the vi origin (top-left corner of front panel).

 

Hope that helps.

 

-DP

 

Untitled.png

--------------------------------------------------------

New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI


0 Kudos
Message 9 of 11
(9,071 Views)

Thank you for this VI, but you mismatched me. I want, if it is possible, to resize tab control WITH controls in it to the full screen when I run the VI. Placing on the center is only important if it allows the resize to take right.

If there is no "elegant" way to solve this, is it then possible to keep the size of the tab control with controls in it, so when it runs that it is on the whole screen of the 8'' monitor?

 

0 Kudos
Message 10 of 11
(9,052 Views)