LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote front panel sizing, empty space around front panel

Hello,

 

I have a remote front panel which works perfectly fine, but I don't like how far out the borders go. It looks like the borders are sized as if the front panel was maximized to my screen in the development environment.

 

rseabeck_0-1706712339818.png

rseabeck_1-1706712420979.png

 

I've played with the VI properties and I can't figure out which property to adjust to bring the border in where I want it. I've set panel size to the size I'd like and I've set window position to (0,0), but there's still this dead space.

 

rseabeck_2-1706712564250.png

rseabeck_3-1706712596812.png

 

I can live with it, but it looks unprofessional, and the scrollbars are annoying to me. I'm sure it's an easy fix, but any suggestions would be greatly appreciated.

0 Kudos
Message 1 of 11
(1,479 Views)

That really does not look right. Why do your first pictures appear to show the panel in a browser?

 

Can you attach your VI (You can clear out the code). What is your LabVIEW version?

 

 

0 Kudos
Message 2 of 11
(1,454 Views)

Thanks for the reply.

 

Screenshots for Window Size and Window Run-Time Position are shown in the original post (last two images).

0 Kudos
Message 3 of 11
(1,451 Views)

Also the panel is in a browser because I'm using this technique for a web-published remote front panel:

 

https://www.ni.com/docs/en-US/bundle/labview/page/viewing-an-application-or-front-panel-remotely-usi... 

0 Kudos
Message 4 of 11
(1,449 Views)

Yes, I saw that later and already edited my post (You can adjust the size of embedded images so it is easier to see without clicking).

 

It is still not clear why the first images look like they are inside a browser.

0 Kudos
Message 5 of 11
(1,448 Views)

Ah, OK. Sorry, we seems to have a race condition with posting....

0 Kudos
Message 6 of 11
(1,446 Views)

My guess is that since the browser window is independent of the front panel area it needs to pad with "something". Can you adjust the browser window?

 

Are there any front panel objects in the far lower right corner that should typically not be seen?

0 Kudos
Message 7 of 11
(1,444 Views)

Seems we're caught up with each other now 😂. I'd say you are probably right, but I just connected to the front panel via Operate > Connect to Remote Panel, and sure enough there's still this empty space...

 

Also, no, I made sure all my FP objects would fit in the rectangle I'd like them to.

 

rseabeck_0-1706719170163.png

 

0 Kudos
Message 8 of 11
(1,433 Views)

Sorry, I have not used remote panel in decades.

 

I assume you have played with the highlighted notes.

 

altenbach_0-1706719530219.png

 

Message 9 of 11
(1,430 Views)

I think those deal with situations where you do not use the Web Publishing Tool to create the HTML file. But your reply gave me an idea. Check this out, when you select the VI to embed to the HTML file in the Web Publishing Tool, the size of the front panel in your development environment affects the size of the front panel in the preview thumbnail. Since I had the FP screen maximized when I embeded the VI to the HTML file, it decided that was the size it should be on the remote FP.

 

Sure enough, after redoing the Web Publishing Tool to create the HTML file I was able to get the appropriate sized FP. See the last screenshot, no more unsightly gray space around my controls.

 

rseabeck_0-1706719902444.png

rseabeck_1-1706719951009.png

 

rseabeck_4-1706720498237.png

 

 

0 Kudos
Message 10 of 11
(1,411 Views)