06-25-2012 11:43 AM
Hi guys,
I've got a question that I'm sure I've seen a help topic on, but can't find it anymore.
I have converted a VI to 2011 from 8.5, but the vi that looked perfect on 8.5 now is not fitting into my screen on 2011.
How do I get the gauges/graphs to fit on the screen like I did on 8.5? I've tried the scale when resizing windows etc with no success.
Thanks
Darren
06-25-2012 03:58 PM
Darren,
Can you attach screenshots of your VI in both versions?
SK
06-25-2012 04:15 PM
Did you also change PCs and/or operating systems when you did this? Perhaps you have a different resolution between the monitors or operating system. If you went from XP to Win7, and you used the LabVIEW fonts such as application, system, etc., you will see the fonts change, as LabVIEW links to system fonts in the user/desktop profile, and the defaults have changed. Assuming default Windows settings, all your fonts be larger in Win 7 than they were in XP. As mentioned by the other poster, posting scree captures would help.
06-26-2012 07:55 AM
Actually yes, there was a windows 7 swap at the same time.
Turns out, the solution was simpler than i thought. The resolution of both systems was the same, so I was assuming that the front panel should look the same.
Turns out I had the font size set to "medium" in the display properties on Windows 7. Switched the font size back to "small" and it looks fine again.
It's not ideal not being able to use the larger font size in every other application running on the LabView machine.
06-26-2012 09:27 AM
If it's only the programs front panel you can probably select all (ctrl+a) and select font (ctrl+0) and select a specific font instead of the Application font. That should disregard the windows setting (i think).
/Y
06-26-2012 09:48 AM - edited 06-26-2012 09:49 AM
/Y,
a specific font might, on the other hand, have the risk that you will run into not-displayable symbols if the font is not installed on the target.
I concur that choosing a font delivered directly by Windows should be save, but are you sure that e.g. Win 7 Enterprise contains the very same fonts as e.g. Win7 Home Basic?
just my 2 cents,
Norbert
EDIT: And it makes a transition to other OS types like Linux even harder!
06-26-2012 12:53 PM
Very good points, Norbert. I however got the feeling this problem wasn't related to multiplatform GUI disparity. In HTML/XML you can place a list of fonts, in case they're missing. "Ariel, Helvetica" being a classic to look similar on most platforms, but you cant do that in LV, can you?
/Y
06-26-2012 03:17 PM
Hello Yamaeda,
Actually LabVIEW has some defaults fonts for the Application, System and Dialog Font depending on the platform you're working on. If LabVIEW can't find that particular font, it will then use the Application Font. Check this articles:
Porting VIs among Platforms
http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/porting_among_platforms/
How do I set the Default Application Font, Dialog Font and System Font Size?
http://digital.ni.com/public.nsf/allkb/F9B8974821AFAF9C862578FF00519A52
What Happens if LabVIEW Cannot Find a Particular Font for a VI?
http://digital.ni.com/public.nsf/allkb/B9106029B7E13AD5862565FA00743376?OpenDocument
Have a good day!