Labview Fonts

Dear all,
I have a problem. When I install an application, that uses strings and/or labels, on different PC's, the strings or labels do not resize with the resolution of the PC. So i get strings that doesn't fit on the screen anymore and so on. How can i make strings and labels independent from my PC settings?
greetings

By default, LabVIEW uses system fonts, so if somebody changes their desktop fonts or change the graphics setting to e.g. "large fonts", you see the problem you encountered.
Set your default font to a truetype font with defined size (e.g. Tahoma or Arial works well) and all will be good.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Undesired LabVIEW Font Change

    I have developed an application in LabVIEW that when developed under Windows 8.1 and all items like Numeric Indicator or Numerical Controls were created with default font and size (Font: Application, Size: 15, Align: Left as Plain), however after building the exe file and transfer the application to another computer, all fonts were changed and increased in size.
    The problem with this is that in some cases this increase in size overlaps other objects on the Front Panel, and in some Numerical Indicators, the numbers do not fit inside the indicator box.
    How could I force the usage of a particulary font and size on an application?
    Attachments:
    Screen Shot 2014-01-30 at 18.29.09.png ‏11 KB
    Screen Shot 2014-01-30 at 18.29.15.png ‏7 KB

    Hi Quintino,
    you can force the fonts of the EXE by setting some keys in it's INI file.
    You can use settings similar like those mentioned here, just replace the number ("0" or "2") by the font name you like to use (e.g. "Arial")!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • LabVIEW Font Problem

    I am using LabVIEW 2013. While using the DAQmx I am facing issue with Fonts. Take a look at screenshots which I have attached.

    Did you install a foreign language version of DAQmx? I would suspect that your DAQmx installation is corrupted and a reinstall might help.

  • Linux applicatio​n fonts

    Reposted from erroneous post on Labwindows/CVI - sorry
    I am having the problem of different font behaviour when transferring applications from windows to linux.  After trying various things without much success I am left with some questions:-
    1      The help files in LV 8.2 say that the default font in linux for application, system and dialog is helvetica.  If this is not installed is there any way of finding which font has been chosen by Labview?
    2      The 'Tools->Options->Fonts' menu gives a list of fonts that have little relation to the fonts actually installed on the PC, where does this come from?
    3      I have tried defining fonts in the .labviewrc file using the "labview.appFont:" parameter.  Is this supposed to become the default font overriding what is selected by labview as in 1?  It apparently has no effect in my application.  
    I would be grateful for any information

    Hi jbroughton,
    I hope your well today.
    As promised I have had a look into your questions:
    1) Regarding what happens if labVIEW can't find the default?
    A) LabVIEW will still indicate the original font in the font ring.
    However, since the font is not available on the system, LabVIEW will
    actually use the Application Font.
    What Happens if LabVIEW Cannot Find a Particular Font for a VI?
    http://digital.ni.com/public.nsf/allkb/B9106029B7E​13AD5862565FA00743376?OpenDocument
    2) More info on fonts in labVIEW (is in a KB, but link is broken so...)
    <><><><>
    In terms of fonts, LabVIEW has three default fonts that it uses:
    Application, System, and Dialog fonts. The following is a breakdown of
    where these default fonts are used and how they map to the fonts on
    various operating systems:
    Application Font:
    LabVIEW default font used in Controls/Functions palettes and new controls.
    (Windows) The U.S. version of Windows usually uses Arial. The size
    depends on the settings of the video driver, because you can frequently
    set up higher resolution video drivers to use Large Fonts or Small
    Fonts.
    - (Macintosh) LabVIEW uses the same font used in the
    Finder for file names for the Application font, which on the U.S.
    Macintosh system is Geneva.
    - (UNIX) LabVIEW uses Helvetica by default.
    System Font
    LabVIEW font for menus.
    - (Windows) Windows uses Helvetica, with the size dependent upon the video driver.
    - (Macintosh) Thus, LabVIEW normally uses Chicago.
    - (UNIX) LabVIEW normally uses Helvetica for this font.
    Dialog Font
    LabVIEW font for text in dialog boxes.
    - (Windows) This font is a bold version of the Application font.
    - (Macintosh) This font is the same as the System font.
    - (UNIX) On HP-UX, this font is the same as the System font. LabVIEW normally uses Helvetica for this font.
    <><><><><><>><><>
    3) This a forum post regarding your topic, they seem to resolve their issues.. maybe take a look.
    Re: Font problem with LabVIEW for Linux
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=89833&requireLogin=False
    4) more forum advice:
    arial font substitution for (LabVIEW for) Linux
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=259972&requireLogin=False
    Please let me know how you get on, and what advice you have for other users - as it seems its never really been answered!
    Kind Regards,
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Font size in executable​s

    I have been struggling somewhat to make my executables look the same way as my source code now, and managed in the end to sort this mess out, using the setttings in the ini-file etc. I have also experienced many times the last years that my source-code forgets my font-size and put them all back to the system standard, to my great frustrations. After programming LabVIEW in 20 years, and never had these problems with font sizes that has emerged the last years (after Win 7 ?), I must say I am a bit frustrated about this behaviour.
    I also read on the net that changing the font size under Win 7 shall NOT influence the font size in my programs.
    Doesn't this mean that NI is breaking the rules on how font size is suppposed to be handled under Windows 7 ?
    Martin

    MartinP wrote:
    I have been struggling somewhat to make my executables look the same way as my source code now, and managed in the end to sort this mess out, using the setttings in the ini-file etc. I have also experienced many times the last years that my source-code forgets my font-size and put them all back to the system standard, to my great frustrations. After programming LabVIEW in 20 years, and never had these problems with font sizes that has emerged the last years (after Win 7 ?), I must say I am a bit frustrated about this behaviour.
    I also read on the net that changing the font size under Win 7 shall NOT influence the font size in my programs.
    Doesn't this mean that NI is breaking the rules on how font size is suppposed to be handled under Windows 7 ?
    Martin
    Just an observation.  Reading your post as a requirement, I would think that it was Windows 7 that is at fault because it is causing a change in an application by the way it was worded.  But that is an aside.
    This might be interesting reading for you: How Do I Set the Default Application Font, Dialog Font, and System Font Size in LabVIEW?  It explains that LabVIEW takes the font sizes from the operating system.  An extremely wild guess by me would be it has something to do with cross-platform compatibilty so if you made a VI on a Mac you could be assured of having a usable font in Windows, for instance.  Anyway, Google gets massive hits on "LabVIEW font problems" for this forum.  I tend to use Google search before I post.  I find the forum search that posting requires to be too confusing and usually not too helpful.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Query default font programmatically

    I know there have been many posts on font sizes and keeping them the same between VIs and EXEs, but I think I have one that hasn't been addressed elsewhere.
    I'd like to create a VI that automatically generates the .ini file that goes along with the EXE. The point of the VI is to make sure that the EXE font sizes end up the same as those from the development environment.
    My problem is that I don't know how to query the default LabVIEW font size programmatically. That is, the size of font LabVIEW uses for app, dialog, system if nothing is specified in the LabVIEW ini file. I know that the default LabVIEW font size is somehow derived from the Windows Message Box font, and I can query that with a .NET property node, but I can't figure out how exactly LabVIEW decides what size to use from the Windows setting.
    For example, I have two machines. One is Windows 7, one is Windows Server 2008. The Windows 7 machine uses size 9 Segoe UI for its message box font. The Windows Server 2008 machine uses size 8 Tahoma. Neither machine has any font settings in its LabVIEW ini file. If I drop a control on the front panel in Windows 7, I end up with application font size 15. If I drop a control in Server 2008, I end up with app font size 13. If I then go and change the windows message box font to size 9 Tahoma in Server 2008, my controls show up as app font size 14. It seems like LabVIEW decides what font size to use by default in a slightly different way in 7 vs Server 2008.
    Does anybody know how to ask LabVIEW programmatically what its default font size is?

    maxwellb,
    The easiest way to programatically ask what the default font size is to have a control on the front panel and use a property node to ask the font size.  This property node is under text>>font>>size. If you do not want the control to be visible on your front panel because you are not using it, you can click the control from the block diagram and choose hide control.  
    Because there has been a lot of talk about keeping fonts consistent across platforms, there is an idea exchange on this issue where ideas can be presented to R&D: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Persistent-font-Settings/idi-p/943336
    I encourage you to give this Kudos if it is something you would like because this is how R&D makes decisions on what to include in future versions.
    Chris
    National Instruments
    Applications Engineer

  • How to maintain the resolution of vi in different monitors

    Hi friends,
     Using Labview 8.0 i created an exe of the application. every vis i set  the  vi properties just like the attachment below. after installing the exe in a higher resolution monitor, when i open a  sub window - 1st time its comming correctly but after stoping that sub window , if i open that subwindow once again than the resolution(size of the vi) of the window is changing.
    in my application i want to take the print out of that window , 1st time print out is comming correctly but due to this resolution problem next time it taking 2 pages for printing.
    please help me for that.
    Nikhil 
    Attachments:
    untitled.jpg ‏513 KB

    This behavior, and the ugly graph cursor display introduced in labview 8.0 is the two properties I dislike most in labview. The problem with your font is that Labview scales the font size depending on the settings selected in Display properties->Appearance->Font Size. If the defualt fonts are used. You find these windows settings by right clicking in the on an icon free area in your desktop. The font scaling will apply to the standard font types in Labview like application, system, and dialog. If the font settings are different in your development computer and the target computer, the front panel may look god on your computer, and totally messed up on the target computer. This will also occur if you have used some fancy fonts not installed on the target computer.   
    One solution to this problem modify the Labview ini file so both the target and development system have the same font settings. You will find more about it here http://wiki.lavag.org/LabVIEW_configuration_file/Fonts . A more cumbersome method is to not use application, system, or the dialog font style. If you are distributing an exe application you may create your own labview.ini file with the correct settings for the standard Labview fonts, and include it in the installer. Anyway I can not see why this "bug" not has been fixed. It has been like this at least since Labview 3.1. If you write a Word document you certainly not want the font size to change depending on the windows settings.
    Here is the what I have inserted in the Labview ini on my computer. Is also include this as custom ini file then I make applications. The labview.ini is pure text 
    FPFont="Tahoma" 13
    BDFont="Tahoma" 13
    appFont="Tahoma" 13
    dialogFont="Tahoma" 13
    systemFont="Tahoma" 13
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Why am I getting different results for the same resolution but different Windows boxes, Win 7 and XP

    I am running an .exe on two different windows boxes, one in Win 7 and one on XP.  I set both for resolution 1024 x 768.
    On Win 7 (laptop and old Dell desktop) I have a great looking app.  On the WIn XP boxes all the fonts to large.  THis doesn't make sense to me as all the PC's have the same resolution.
    Has anyone run across this before?
    Mark Ramsdale
    Solved!
    Go to Solution.

    The system fonts for XP and Vista/Win7 are different.
    See
    http://forums.ni.com/t5/LabVIEW/Elements-have-moved-when-opening-vi-with-f3-patch/m-p/1054817
    http://forums.ni.com/t5/LabVIEW/What-can-affect-the-size-of-a-front-panel-object-between/m-p/1058607...
    http://forums.ni.com/t5/LabVIEW/Font-size-on-Windows-7-with-LabVIEW-2009/m-p/1055114/highlight/true#...
    and several other similar threads.

  • What resolution to use

    I wrote an application for outdoors gas measurements and I can't decide what resolution to use. I originally wrote it in 1400x1050 and I assumed that by checking the "Maintain proportions of window for different monitor resolutions" box it would go to full screen with no problems in case you are using a lower resolution monitor. But as I read in the forums and found out myself there are certain problems with that and when I try it out my front panel is a mess with controls overlapping each other (I guess there is no such thing as half a pixel).
    Is it a valid solution to go for the lowest resolution possible? In my case that would be 1024x768 since I have a good number of controls and 800x600 is too small. Is the 1240x1024 more popular? Also should I check the "Maintain proportions of window for different monitor resolutions" box in order to resize for better resolutions or should I play it safe and just have the front panel appear at the top left corner?
    Thank you.

    The front panel scaling functions does not always work 100%. I had the some problem with an application once. The customer was not very happy with the scaling functions. So I wrote 4 separate applications for the screen resolutions the customer planed to use, and included all on an install cd. For me this was the simplest and quickest solution. Only minor changes on the front panel was needed in each case, and the customer was also very happy. Remember also to take the Labview font scaling problem into consideration. You can read more about it here
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=384019&view=by_date_ascending&page=1 
    Message Edited by t06afre on 04-01-2009 04:23 PM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Some fonts are not shown correctly in LabVIEW 2012

    I found a bug related with fonts in LabVIEW2012 f3 KR.
    - When I select NI7SEG in font selection dialog, right font is not shown in the example box.
    - Draw text at point.vi shows same problem for some fonts while other fonts are working.
    I reported it to Korean NI. As far as I know, this was not reported in previous versions and I couldn't find any related documents in Google. 
    So, here I would like to know whether it is related with only Korean version. Please let me know if English version is OK. 
    * OS: Windows 7 32bit KR

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • How can I print a LabView report using the printer font (not a windows font)?

    My printer is connected via a com interface. For speed reason I have to use the font of the printer. I use the report generation VIs to generate my report. With the VI "Set Report Font.vi" its possible to choose a font but I think only windows fonts are accepted.
    Printing from "WordPad" using printer fonts is no problem, just select font "15 CPI" for example. But how does it work with LabView?

    Have you already tried this in LabVIEW? What results did you receive when you tried it?
    J.R. Allen

  • Font Smoothing in LabView for Linux

    Hello,
    I was wondering if anyone has been able to get their fonts in LabView for Linux to be either smoothed using Gnomes subpixel smoother for LCDs, or any other type of anti-aliasing. I currently can use truetype fonts in LabView, and for the most part they do look pretty decent.. btu they are not smoothed at all. Every single application I have loaded has smooth fonts other than LabView. Please let me know if anyone has managed to get this working... and if so, how.
    I am currently using Gentoo with all of my packages updated less than a month ago, with LabView 8.2
    Thanks for any info!

    Unfortunately, we do not support fonts on your operating system. Hopefully another customer is more familiar with this.
    Message Edited by Support on 10-04-2007 01:33 PM
    Charlie M. CLD

  • Strange Fonts in labview graph's plot legend.

    Hello All,
        I am running labview 7.1 on a Windows XP machine and
    the default and only language is English (US). Verified this under
    Control Panel > Regional Settings.
        When I run a VI, I get strange fonts in the plot
    legend. They keep updating as the VI runs. Here is a screen shot of the
    plot legend:
    I change the font to something I can read, save the VI and run it again
    and it automatically changes to this unreadable font again. Any ideas
    on what I can do? Thanks.
    KB

    Is it just the font that is off, or are these actually non-printable characters?
    Are you graphing e.g. dynamic data types? Do you possibly have weird names for your signals?
    LabVIEW Champion . Do more with less code and in less time .

  • Font Size Difference between Exe and Labview IDE

    I'm stumped on the following issue and surprizinglycan't find any references that are similar on this forum.
    I've developed an application which, when built to an Exe, has different font sizes than when executed on the same computer in the Labview Integrated Development Environment.  In each instance the screen resolution is the same.  I've used the "Application Font".  I'm having trouble figuring why the font would render differently in each case.  Of possible signifigance is that I'm running the Exe by simply browsing to the folder where the build procedure drops it instead of building an installation.
    I've attached one of the most glaring examples that shows the rendering in each case.
    I'm hoping that someone can point me in the right direction to resolve this issue.
    Attachments:
    Font Differences1.zip ‏1704 KB

    Hi Doctor,
    two notes:
    for the font size differences: I would try to change the font settings
    to a more 'specific' font like Arial 14pt. The application font is set
    somewhere in an ini-file and the setting may change with the
    environment (IDE vs. exe-rt).
    for your attachment: please convert pictures to jpg or png. This will
    reduce size by orders of magnitude :-) And please crop them, unless you
    have a very (VERY) beautiful desktop background picture!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Linux font problem with LabVIEW 7 Express

    Is there a change in how LabVIEW 7 Express for Linux
    uses fonts? When I run LabVIEW 6.1 (on the same
    machine) the standard font (10pt Application) looks
    very nice (in menus, front panel and diagram). With
    LabVIEW 7 they are not so good to read. What can I do?
    Thanks in advance,
    Armin Herzer

    Hello Evan,
    Sorry for the late replay, but I was on holiday last week.
    I am using Debian GNU/Linux woody 3.0 (testing). The video driver is the one which is shipped with XFree86 in this Debian installation. I also used the newest video driver from NVidia but the problem is the same (btw. is this a NVidia problem? Unfortunally I can only test on machines with NVidia cards). I attached a screenshot to visualize the problem.
    The problem is not VI specific. All text (menus, comments and so on) have this ugly font.
    Thanks in advance,
    Armin Herzer
    FH Ravensburg-Weingarten
    University of Applied Sciences
    Attachments:
    lv6170.png ‏15 KB

Maybe you are looking for