LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I keep Vista from messing up my VIs?

I have a bunch of files that I first created in LV 8.5 on a Windows XP machine. When I load them in Vista, the fonts are all screwy. It is not just affecting the front panel but also the block diagram. It seems to be drawing things wrong. In going from Vista to XP, checking the "Maintain proportions of window for different monitor resolutions" option in the VI properties helps but would I have to do that for every VI? Is there some global LV setting that can resolve this? I have tried to change the Application Font setting in LV, too, but to no avail.

0 Kudos
Message 1 of 12
(3,859 Views)

I've seen alot of the issues your describing, it seems to steam from the new "Aero" interface in Vista.

 

I've got my regular vista theme saved (Right click the desktop, select properties, then themes. I'd recommend saving your current them so you can revert back after the next step)... you can select "Windows Classic" on this screen. Close LabVIEW completely, change the setting I described (Makes Windows look alot like XP/2000) and your VIs should be back the way you'd expect after you reopen LabVIEW with this "theme".... I usually switch back and forth for LabVIEW because I like the new vista interface, but REALLY dislike the way it moves my clean wiring around.

Message Edited by MattH on 03-03-2009 02:59 PM
Message 2 of 12
(3,842 Views)
Thanks, that's a good tip - at least to keep the block diagrams from shifting around. Although, if you were to build an executable and run it on a "regular" looking Vista interface you would still have problems with the front panel. This was definitely the case building in XP then running on Vista. Like I said before, for the front panel, unchecking that option for that VI stopped Vista (or LV?) from shifting things around. I don't like that this is an individual VI property only. There must be something else...
0 Kudos
Message 3 of 12
(3,814 Views)

Don't use Vista!  :smileyvery-happy:

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 12
(3,805 Views)

Can you post an image of your bad looking Vista front panel or block diagram?

 

I would never recommend checking the "maintain proportions" checkbox.  I thing that almost guarantees you'll have problems.

 

I'm curious about your problem because I am using Vista at home and haven't seen any issues with the appearance of the front panel or block diagram.

 

Any chance you have a different font size set in your display properties such as "Use large fonts"?  I found that setting definitely screws up things such as having the font not line up properly on front panel buttons when the VI was originally created on a different PC that used normal sized fonts.  Did your XP machine use an unusual system font that may not be setup on your Vista machine?

Message 5 of 12
(3,794 Views)

Sima,

 

Does this behavior occur when you port the exe to any Vista machine or is it local to one computer?  This could help narrow down the issue

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 6 of 12
(3,762 Views)

I have seen these changes on different Vista machines with different resolutions (a couple desktop computers and a laptop). I have not customized the fonts in Windows XP or Vista, so I'm using whatever are the standard fonts for that OS.

 

I've attached small snapshots of this shifting in the block diagram and front panel. It is more than likely a fonts issue but I don't know how to stop it. These are the obvious changes, but other than that I've noticed small bumps in wires that I just knew were straight to begin with!

Download All
0 Kudos
Message 7 of 12
(3,732 Views)

Ravens Fan wrote:

....

 

I would never recommend checking the "maintain proportions" checkbox.  I thing that almost guarantees you'll have problems.

....


Why is that?

0 Kudos
Message 8 of 12
(3,727 Views)

Sima wrote:

Ravens Fan wrote:

....

 

I would never recommend checking the "maintain proportions" checkbox.  I thing that almost guarantees you'll have problems.

....


Why is that?


It just seems that nobody ever gets it to work and display the way they want to.  There have been a couple recent threads discussing this topic.  Here is one. Programmatically adjust object's position/size while resizing a labview window

0 Kudos
Message 9 of 12
(3,718 Views)

I have seen the "Scale all objects..." option cause more problems than the "Maintain proportions...", unless you've got your window panes all nicely set up. I have not yet seen any problems with the "Maintain proportions..." option, but then again I haven't used it all that much. We tried it and it just so happened to make things look similar between XP and Vista.

0 Kudos
Message 10 of 12
(3,713 Views)