LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Font size on Windows 7 with LabVIEW 2009


morgol wrote: 
... Have any of them actually USED LabVIEW on Windows 7? How do they miss stuff like this? The first time you open practically any VI that was created on an XP machine it should be as plain as the nose on your face!

Mega-dittos!

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 37
(5,330 Views)

I have a simialr problem.  Just upgraded to LV2009.  We use Win7 OS with an XP Virtual machine to run the 50 or so LV EXE's I have created, and support over the years.  Now when I create an EXE, some array's (and font sizes) on the front panel get automatically resized, and the allignment is off.  The EXE front panel does not match what I am designing on the .vi/project.  I can no longer count on creating an EXE, and have it look the same as the .vi in the project.  LabVIEW displays the front panel of an EXE differently on a Win7, and XP OS.  They are not compatible.  Definetly an NI issue that should be addressed.

0 Kudos
Message 12 of 37
(5,202 Views)

In the .ini file that goes with the executable, add a setting for AppFont and DialogFont to be the same font and size as it used to be in Windows XP which is Tahoma 8pt, as opposed to the Segoe UI 9pt that is used in Vista and Win7.  There is one thing though, the font size listed in windows is not the same as the font size listed in LabVIEW.  But is something like 12 and 13

 

Here is a recent thread Why does my block diagram change when I copy my code to another system? where I consolidated some of this information.

 

Otherwise, search the forums for AppFont DialogFont and SystemFont for more information.

 

Please let us know if this information helps you.

Message 13 of 37
(5,192 Views)

Did not work for me.  I changed the text in my vi to arial, and that seems to fix it.  I will just default all text to arial, or anything other than Application, Dialog, or System.  Thanks very much for your input.

Message 14 of 37
(5,175 Views)

The LabVIEW guidelines recommands using the fonts you avoid. But I do not understand why and do the same as you do.

You should probably vote for this idea.

0 Kudos
Message 15 of 37
(5,059 Views)

I had this problem as well with 7.  What I did to solve it was to change all the Windows fonts to Tahoma instead of Segeo UI.  To do this rt click on the desktop, go to Personlize, towards the bottom of that window click on Window Color.  Here you can set all the fonts for the various Windows items.  Change all these to Tahoma, restart LabVIEW and hopefully this will help your problem.  It worked for me as far as I can tell.

Don't code angry. Dooon't code angry!
Message 16 of 37
(4,967 Views)

"An application and front panel written on XP, then ported to windows 7 should look the same... there must/should be a font that is scaled exactly the same way on both...(unifont???) I think every user awaits that compatability"

 

YES!!!!  What a mess this is.

0 Kudos
Message 17 of 37
(4,811 Views)

boone_93 solution works for me, thanks! Just made a theme in Win7 with tahoma on all the fonts and called it LV. Just switch to it when you come to the point where you start aligning the FP..

Best Regards,

Øyvind

CLAD
32 bit LV2015
64 bit Windows10
0 Kudos
Message 18 of 37
(4,547 Views)

I just realized I had this problem as well, but my difference is that I'm developing on Win7, but running the same code on MacOS machines as well.  It looks good on Win7, but when run on MacOS the text positioning gets screwed up.

 

I have yet found something that positions free floating front panel text exactly the same across all machines!  Its quite irritating to say the least!  I'm currently running all Arial font, and its still not right.Smiley Mad

 

I just noticed the thread is for 2009, and I'm using LV2010.

0 Kudos
Message 19 of 37
(4,293 Views)

In Windows 7 they have helped us by making the font size bigger with a default of 125%. As you all have noticed that really is bad for LabVIEW code. Use the following link to change the text size to 100% and this will clear up 99% of your text size problems.

 

http://windows.microsoft.com/en-US/windows7/Make-the-text-on-your-screen-larger-or-smaller

0 Kudos
Message 20 of 37
(4,218 Views)