LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fitting front panel to screen of host PC of a compiled application

Hi
 
I have run into a problem.
 
I have developed my application on my desktop PC and now compiled it for use on several instrument "host PC's".  Unfortunately the screen sizes and resolution of the host PC's are different so my front panel is not being displayed properly.  I notice in LabVIEW 7.1 applications builder that there are several box's to check and uncheck regards: screen settings. 
 
Can anybody tell me which boxes I should be checking in order that the front panel is fitted to the screen properly on the host PC.  I fear I will go through many compilation attempts before I find the right settings otherwise.  Should I also be changing some settings in vi properties?
 
Many thanks in advance
 
Ash
Message 1 of 3
(2,591 Views)

Hi Ashley,

LabVIEW can maintain its front panel window proportions relative to the resolution of your monitor. When you set the VI to maintain window proportions, the percentage of the screen the front panel window uses stays the same regardless of the user's screen resolution.

Complete the following steps to maintain front panel window proportions relative to screen resolution.

  1. Select File»VI Properties to display the VI Properties dialog box.
  2. Select Window Size from the top pull-down menu at the top of the VI Properties dialog box.
  3. Place a checkmark in the Maintain proportions of window for different monitor resolutions checkbox.
  4. Click the OK button to save your changes.

Selecting this option maintains only window proportions. To make front panel objects maintain proportions, you also must place a checkmark in the Scale all objects on front panel as the window resizes checkbox.

These settings should be maintained in the build of any Vi which you have set these properties for. You do not need to add any other files to your build for this to work as it is inherantly included.

This is the URL for the LV7.1 help page which is where I sourced the above information from:

http://zone.ni.com/reference/en-XX/help/lv/71/lvhelp/Maintaining_Window_Proport/

I hope that this helps you,

Emma Rogulska

NIUK & Ireland

 

0 Kudos
Message 2 of 3
(2,571 Views)

Many thanks Emma

I will do that

Thanks again

Ash

0 Kudos
Message 3 of 3
(2,566 Views)