07-27-2010 06:35 AM
Hello All,
I have a VI that by opening in a new Laptop, it show some Arrays controls misfits (with a diferent array size), however i can´t put it right.
But when i make a EXE of this VI and if i run the EXE in another Computer, the front panel appears aligned and Ok.
I´m using the labview 2009 Sp1 with Windows 7, this vi have been created in another laptop in a older version and always with the Windows Xp, and whenever i was updated the version of labview it always appeared correct on those Laptop, until now when i changed the laptop and the Operating System to Win7.
Any help/advice is much apreciated
Thanks,
Solved! Go to Solution.
07-27-2010 06:42 AM - edited 07-27-2010 06:43 AM
Make sure you use the same font settings for all the controls that you want to be aligned. You might have some controls set to a specific font name and others left to the default Application font. LabVIEW substitutes the Application font for whatever the system default font is on a particular computer.
Different fonts are default and available on different Windows versions so you can certainly get into trouble here if you mix font families and names in the same UI.
If you request a specific font name and it is not available on a certain machine Windows will substitute it with a different font that it thinks looks similar but the heuristics of that substitution can sometimes go really way south of the equator and simply give crazy results.
07-27-2010 10:49 AM
One problem I've run into the past has been with DPI settings.
Older model laptops are typically set to 96 DPI. Although my newest laptop was set by default to use 120 DPI.
At that setting, text was much easier to read on the 17" 1900x1200 display. But all of the front panels on my existing LabVIEW projects were messed up.
09-17-2010 09:57 AM
I'm having the same problem. I developed an App in XP and ran it on Win 7 with the same result of having the array control offset from the others. I did check all settings and can't find anything out of the ordinary. I also checked the DPI setting in Win 7 and it was the same as XP. The funny thing is; I have 4 array controls set vertically and only one of them is offset.
JY
09-17-2010 10:02 AM
See this thread.
09-17-2010 11:49 AM
I looked over all the documentation and none of it helped, but it pointed me in the direction of fonts. I found a .reg file which fixed the issue. here is what is imported. This fixed all my problems when going from XP to Win 7.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"="segoeui.ttf"
"Segoe UI Bold (TrueType)"="segoeuib.ttf"
"Segoe UI Italic (TrueType)"="segoeuii.ttf"
"Segoe UI Bold Italic (TrueType)"="segoeuiz.ttf"
"Segoe UI Semibold (TrueType)"="seguisb.ttf"
"Segoe UI Light (TrueType)"="segoeuil.ttf"
"Segoe UI Symbol (TrueType)"="seguisym.ttf"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Segoe UI"=-
JY