LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front Panel Different in exe

Sorry I do not have a better way to describe this problem but here it goes.

 

  1. This problem does not occur all the time, it's random.
  2. The problem seems to be related to making a build/installer on a large screen monitor, but not sure.
  3. Font sizes are set in the INI file.
  4. I am using LabVIEW 2017, but also saw this problem in 2015. In 2015 there would be bars across the screen

Here is the problem. Sometimes, emphasis on sometimes, after making an exe and installer, the front panel of the exe on the installer is either misaligned, or missing buttons. Note that when I view the exe on the computer I built the exe on, it looks correct. The problem only occurs when the program is installed on another computer.

 

I have not seen this problem when I build the exe on a "normal" size monitor, like a laptop. This only seems to occur when I build on my desktop. Note that the Front Panel is not huge, roughly 1000 by 600 pixels, so I do not think that is the problem.

 

Just recently I added a Defer Panel Updates property and the end of the initialization sequence to force a redraw of the screen. I am still checking whether this will work or not.

 

Below you can see screen shots of the problem and correct version.

 

 

 Problem

 

Snap10.png

 

 Correct

Snap11.png

 

 

Has anyone else experienced this problem? Are there are workarounds or other methods to force a screen redraw?

 

I cannot post the code, sorry. However, even if I could I do not know how to reproduce the problem.

 

Thanks

mcduff

 

0 Kudos
Message 1 of 2
(2,326 Views)

You may need to find the available resolutions of the display then command it through LabVIEW to an appropriate size.  Scaling of Fonts and Boxes does not always go well for different aspects and resolutions.  Also, issues with personal settings (I.E. Large Fonts) will cause chaos with your expected layout.  Find a setting that works for you and configure the new system at the beginning of the configuration prior to displaying your user screens.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 2 of 2
(2,287 Views)