LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling VI or front panel size when published to a web page

How can I manage the size of my VI or front panel? When I publish my VI to the web it takes up the entire screen on my web page. If I resize it using HTML, it becomes so small that it's unclear. Any suggestions?
0 Kudos
Message 1 of 6
(3,473 Views)
Resize the VI frontpanel as you do with notepad, if it displays only several controls, then move them close together and make the frontpanel just show these controls.

Joe
0 Kudos
Message 2 of 6
(3,473 Views)
Answer was not clear to me. Please explain again.
0 Kudos
Message 3 of 6
(3,473 Views)
If you have 10 controls and 5 indicator on your front panel. Group your controls close together, group your indicators together and move them beside the control group. Now, resize your front panel so that it is large enough just to display all the elements. (To resize the panel, move your mouse to one of the corner of the window, the mouse shape will change, click and hold the left mouse button, drag mouse.) Finally, save your vi.

Joe
0 Kudos
Message 4 of 6
(3,473 Views)
When you use the web publishing tool to create the html it uses the current window size of the VI to create the correct width/height dimensions for the LabVIEW object in the html code. Following is an extract from an example html file created using the web publishing tool:







Hope tha
t helps.
0 Kudos
Message 5 of 6
(3,398 Views)
Thank you! I must have been blind not to see that in the corner of my panel window!
0 Kudos
Message 6 of 6
(3,398 Views)