User | Kudos |
---|---|
8 | |
6 | |
4 | |
3 | |
2 |
I searched but didn't see this idea anywhere yet. There is problem with ring and combobox typedef constants. Since the values are not actually part of the data type (like an enum), when a their typedef values are modified they are not propogated like you'd expect. Since I've run into this problem I've seen a lot of posts, but not real solution. Search and replace hundreds of constants...I suppose.. Anyway, most assume this is a bug, but it's not. See link below.
Item Lists of Combo Box/Ring Constants Do Not Update from Type Definitions
While not a bug, there is missing functionatlity here, as is evident by the amount of posts, questions, and confusion around the topic.
The idea is simple, make some way to force typedef constants for rings and combo boxes to update, not just "data type", but default values. Maybe a 4th typedef type that includes data values?
**Side note (and plug for a related idea): One motivating factor is the lack of sparse enums. If you have large spread of name/value pairs, an enum could require hundreds of unused value "placeholders" which makes it too large and cumbersome to use. Either a ring with the appropriate values (that could update) or a sparse enum would probably help many people.**
LabVIEW idea exchange: Add sparse enums to LabVIEW
Thanks for reading.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.