LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gauge scale changes when switching between computers

Solved!
Go to solution

Hi,

My schoolproject involves gauges in labview, when i switch between two computers the scale of the gauge changes (check pictures). The right one is obviously wrong. For your information: In my program all objects on the front panel get scaled depending on the size of the screen. I hope somebody can help me!

Right oneRight oneWrong oneWrong one

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I hope you have a nice day!!!

0 Kudos
Message 1 of 3
(2,167 Views)
Solution
Accepted by topic author Niels2000

You can force a specific Font for the text. Just avoid using the default "Application/System/Dialog Font", Windows may screw them.

0 Kudos
Message 2 of 3
(2,160 Views)
Solution
Accepted by topic author Niels2000

What is different about the two PC's?  Screen Resolution?  Font Size scaling?  Font itself?

 

I'm thinking that you have a gauge that is based on system fonts (that seems to be the default situation when you install LabVIEW) where the font and font size are derived from the Windows settings.  When you work with something on one computer and move it to another with different Windows settings, bad things can happen.

 

See if this applies to you.  Then you can either.

1.  Change the fonts of the object to a specific style and size that aren't symbolic fonts based on Windows.

2.  Add lines to your LabVIEW .ini file if this is in development environment, or your executable's ini if this was compiled, to define the symbolic fonts as specific fonts (Like Tahoma 13)

 

In my LabVIEW .ini, I have the following:

FPFont="Tahoma" 13
AppFont="Tahoma" 13
DialogFont="Tahoma" 13
SystemFont="Tahoma" 13

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