I'm new to LabVIEW and have Problems with generic writing an Enum to text and reading it back
I have Cluster with different Controls. I do not know which Controls!!! But I know there might be a Enum U16 Control on it. How can I write and read the Enum to Text?
The problem I have is that I get the displayed text by reading the Value, but I need the Index to write the Value?!
Thanks for any advice or information reference
Solved! Go to Solution.
the classic way uses FormatIntoString/ScanFromString:
I do not have the Enum! I only have the showen Controles Reference of a Cluster (The Cluster is exchangable) that may contain an Enum
Variant to Data with an U16 as target type gives you the Enum numeric value: