LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Font Display~~~(My headache Need ur assistance badly)

hi, dan_u

Cause what I make is a driver, so I have to use the default font which is always recommended.

0 Kudos
Message 11 of 17
(1,937 Views)

hi, Dear t06afre

Finally, I think I got to know why was that happened.

As u say, I can modify the labview.ini file and release it to the endusers to solve the problem.

But as it's a driver, so I have to select the default settings

(Cause I cannot suppose which OS, which language the enduser use)

Therefore it's NOW a no-solution problem, and should be omitted.Smiley Happy

0 Kudos
Message 12 of 17
(1,936 Views)
You can indeed solve this problem. It is somewhat awkward, but it can be done. If you go to the text settings tool and select a specific font, it will stay that way regardless of any font settings in labview or windows. This must be done for every text item in your program, like chart axis, Booleans, labels etc.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 13 of 17
(1,927 Views)

hi, t06afre

thx for ur post.

I belive ur method will do well if I make a exe file for my endusers.

but because what I make is a driver, the default font is required.

[...Use the default (Application) font for all labels. LabVIEW includes this font, so it is available to all other users. ]

http://zone.ni.com/devzone/cda/tut/p/id/3271

So if I choose a specific font, then the enduser maybe get more bugs who have not that one.

And I think the VIs can be used in Linux or Mac OS, therefore the font used in windows may not be used in other OSes, e.g. the Arial.

Though I'm not sure cause I have not yet used the LabVIEW @Linux/Mac.

0 Kudos
Message 14 of 17
(1,899 Views)

You have to decide what you want. Either you want the front panel to look the same on all machines -> use a fixed, specified font (having the risk you mentioned)

OR you're fine with the fact that the front panel looks different on different OS languages or OS types. In this case, use application, system, dialog fonts.

 

You can't really have it both I guess. I'm not sure about Arial or Times New Roman for instance, I guess these fonts should be pretty much available on any system.

Message Edited by dan_u on 02-13-2009 09:28 AM
Message 15 of 17
(1,887 Views)

This is a very elegant solution to fix this pesty problem. Thank you for your input.

 

Singh

0 Kudos
Message 16 of 17
(1,488 Views)

Coq Rouge wrote

 

"Did you do it correct? After changing the font settings you have to restart Labview compleatly. I inserted this in my labview.ini file

FPFont="Tahoma" 13
BDFont="Tahoma" 13
appFont="Tahoma" 13
dialogFont="Tahoma" 13
systemFont="Tahoma" 13

After I did this the font size stayed as I wanted. Regardless of the windows font size or screen size. If you are building a exe file you must make a coustum labview.ini file with these settings and include it in your build script"

 

This is a very elegant solution. Thank you for posting it.

 

Singh

0 Kudos
Message 17 of 17
(1,483 Views)