LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Font size on Windows 7 with LabVIEW 2009

Duplicate post?

0 Kudos
Message 21 of 37
(3,511 Views)

I wish it was that simple, but I've been set to 100% (default) view size and my text DPI setting is 9pt at 96DPI with "WindowsXP style DPI scaling" enabled and I still have issues.

0 Kudos
Message 22 of 37
(3,489 Views)

In my opinion...

 

The font issues with LV under Windows & is a bug.

 

If my customer moved my app from XP tp Win 7 and saw the same thing, they would call it a bug.

 

If you opened Excel and the drop-down menus could not display the full text we would call it a bug.

 

So in my book this is a bug!

 

Please NI, fix this problem and stop blaming Windows.

 

Until this gets fixed LV is going to keep looking like crap.

 

Ben

 

BTW: I think this is a bug.

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 23 of 37
(3,481 Views)

What I have done, is to manually add these three lines of text to the .ini file:

 

appFont="Tahoma" 13
systemFont="Tahoma" 13
dialogFont="Tahoma" 13

 

It is very annoying, but seems to take care of it.  Earlier I reported that this did not work for me.  I was mistaken.  It makes the 50+ exe's I distribute to our techs look good.  Really glad I am not distributing exe's outside our company.

 

Alan

Message 24 of 37
(3,476 Views)

Any update on this?

 

I'm bouncing code back and forth between XP and Windows 7 on a daily basis. The two machines cannot have their operating systems matched due to current corporate policy - one is my office machine and one is in the laboratory running equipment, so they fall under different jurisdictions. I can forget about challenging the corporate policy.

 

Using LabVIEW 2011 on both.

 

The tips and tricks described on here don't seem practical as I don't have time to re-size fonts every time I bounce the code between machines. In short, I need LabVIEW to work the same and my front panels to look the same regardless of the OS.

 

What's the NI solution?

0 Kudos
Message 25 of 37
(3,228 Views)

You need to define your LabVIEW.ini on both machines to use specific fonts rather than the OS defined fonts.

0 Kudos
Message 26 of 37
(3,226 Views)

Having battled with this problem myself for some time, I have just found that Calibri seems to work.

0 Kudos
Message 27 of 37
(3,157 Views)
Spoiler
 

The only problem with Calibri is that it is not a standard font installed in WinXP; Tahoma is.

 

If the XP machine does not have >= MS Office 07 installed, you will have to download the Calibri font and install it yourself onto the XP machines.

 

I've been using the fix Alan suggested above on my Win7 machines and all seems to be good in the world.

0 Kudos
Message 28 of 37
(3,149 Views)

Have National Instruments fixed this bug on versions of LabVIEW after 2010?

 

I just moved a lot of VIs from Win XP to Win 7 and it's mangled them.

 

As other posters have said, LabVIEW is supposedly to be a portable language. How can it be portable if the the same front panel doesn't work the same way on two slightly different versions of Windows?

 

 

0 Kudos
Message 29 of 37
(2,991 Views)

I've tried a couple of the suggestions from this thread. I've put the font size in the general Windows setting to 100%. In LabVIEW.ini I've put:

appFont="Tahoma" 13

systemFont="Tahoma" 13

dialogFont="Tahoma" 13

 

This still doesn't work though. In block diagrams the text of every object is much larger than in was in Windows XP.

 

0 Kudos
Message 30 of 37
(2,986 Views)