Hi all,
I am using Enums a lot to index values in an array or cluster (e. g. in an FGV), and have a merge VI for the typical process needed to initialize an array at the length of the enum size (string count):
Using the type cast prevents false outputs if one were to add enum items after the currently selected value.
I would prefer having a real LabVIEW primitive to do the measureing, as a SubVI would be bound to the specific enum's data typedef. With a primitive, the same code would look something like that:
Any thoughts on this one?
Best regards,
Sebastian