10-30-2013 11:07 AM
Taking time out from LVOOP before I break something I may regret to report a bit of a nuisance. What is cheesing me off today is that my default control style (system) is being brazenly ignored by LV inside VIs which are owned by a class. All controls/indicators created are modern. argh. Could be worse, it could be making everything silver.
1. set default style to system or silver or classic
2. in a vi outside of a class, drop a constant on the BD and create indicator -> should match the style set in 1
3. in a vi inside of a class drop a constant on the BD and create indicator -> modern style
Also, the scripting VIs for methods and accessors ignore the preferences for default label position. At least that one I can fix myself.
10-31-2013 12:43 PM
Hi Darin,
Thank you for your feedback. I tried creating indicators inside of a VI in a class and it observed my default control style in LabVIEW 2013. Which version of LabVIEW are you running?
Regards,
12-10-2013 11:34 AM
Glad I check the mobile version of the site once in a while, I had missed your reply. I see this in LV13 (including very very recent versions of LV13).
I think it involves the static or dynamic dispatch template VIs. If you simply create a new VI in the class it behaves normally.
12-10-2013 02:18 PM
It's not a bug. It is the defined behavior of templates. Changing it is a feature request that, although I think it would be nice to change, is not currently prioritized. You can edit the file
LabVIEW 2013\resource\Framework\Providers\LVClassLibrary\CLSUIP_MemberTemplate.vit
to change the template. Applies to any of the other templates in that directory.