User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
Generally type def Enums are used in LabVIEW application extensively as in other programming languages.
But in LabVIEW, Unlike Enums in Front Panels when using an Enum as a constant in block diagram : as index element for array, or element in an array or cluster, the size of the constant enum changes whenever that enum is modified.
Always this leads to hidden code, a violation of LabVIEW coding standards which can result in a potential bug.
Solution:
Like in Front Panel, keep the size of the enum as a constant in Block Diagram the same size, without hidding the text in the enum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.