LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Array size in Windows 7

Solved!
Go to solution

 

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,

 

 

 

19965iFC7E4E4C382247F2

 

0 Kudos
Message 1 of 6
(3,134 Views)
Solution
Accepted by topic author RMPG

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.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 6
(3,129 Views)

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. 

 

 

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 6
(3,099 Views)

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

0 Kudos
Message 4 of 6
(3,024 Views)

See this thread.

0 Kudos
Message 5 of 6
(3,016 Views)

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

0 Kudos
Message 6 of 6
(3,001 Views)