12-09-2010 04:12 PM
Hello,
Thanks for Everyone for coming out to our user group meeting.
I have uploaded the presentation and templates I showed at the user group meeting
Here is the link for my idea for the nested states. I need all the Kudos I can get...
I also wanted to include the comment Milan had about fonts and font size in the LabVIEW .ini file
appFont="MS Sans Serif" 13
dialogFont="MS Sans Serif" 13
systemFont="MS Sans Serif" 13
The MS Sans Serif font appears to be consistent across windows releases at least to XP (I don't have Win7). You can and probably should create a separate .ini file for your executables which is settable in the builder. Copying these lines to that ini will also keep front panels in executables "looking" like you intended.
Dan
12-10-2010 07:21 AM
Thanks Dan. I learned a few new things at this meeting, which was great. I Kudo'ed your suggestion -- hopefully we can get it to happen!
I had one question on the appFont key. I looked through my LabVIEW 2010 "LabVIEW.ini" file, but did not find this key present (it isn't in LabVIEW 2009 or 8.6, either). Do you just add this key to the file, or am I looking in the wrong place to put it?
12-10-2010 08:51 AM
12-10-2010 09:16 AM
Joe,
I suspect the existance of any of the font related entries in the ini file probably depend on what parameters you have changed in your labview preference settings.
So if you don't find them in your LabVIEW.ini; just past the definitions above anywhere in the file below the [LabVIEW] line which should be on the first line of the file.
The entire LabVIEW font issue stems from what the default windows fonts are set to. I usually see a lot of font issues in LabVIEW and other packages once someone changes start>settings>control panel>display>appearance>font size to anything but "Normal". I have no idea what the other choices here mean "large fonts" and "extra large fonts"; we would have to ask Bill what he was smoking.
In any case; setting the fonts in the LabVIEW.ini should take care of any of these system differences. Just make sure all of your developers and all of their LabVIEW versions have the same font entries. Additionally; when you build an executable; make sure you create an associated ini which also has these font entries; and reference it in the application builder.