Today, the enum data type in LabVIEW only allows having sequential numeric values (0, 1, 2, 3, etc.).
It would be very useful to have sparse enums, meaning enums which can have custom numeric values assigned to their strings, just like you can do today with rings.
If you want an example where this will be useful, think of error codes - this would allow you to use an enum on the diagram to select the error, or in a case structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
National Instruments will not be implementing this idea in LabVIEW 20xx. It is currently the feature backlog for LabVIEW NXG.