05-06-2010 11:20 AM
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
08-17-2010 12:40 PM
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.
08-17-2010 02:03 PM
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.
08-17-2010 03:15 PM
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.
10-11-2010 07:29 AM
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.
11-11-2010 02:40 PM
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.
01-13-2011 03:58 PM
"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.
03-30-2011 08:57 PM - edited 03-30-2011 08:59 PM
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..
05-04-2011 01:10 PM - edited 05-04-2011 01:12 PM
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.
I just noticed the thread is for 2009, and I'm using LV2010.
06-01-2011 04:31 PM
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