LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Revisit:Populate ENUM labels via String[]

I have a variation of this question that has been answered
(http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000006A9E0000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=Populate+ENUM+RING+via+Property+Node+String%5B%5D&USEARCHCONTEXT_QUESTION_S=0)
As relates to an executable, it would seem it is not possible ever to change enum item strings via property nodes programmatically because the executable is never in edit mode?
0 Kudos
Message 1 of 3
(2,622 Views)
To anyone reading this, I used a text ring instead of enum. The srings are programmatically editable.
0 Kudos
Message 2 of 3
(2,622 Views)
Hi Jim,

It wont be possible to write to the strings[] property of an Enum in an executable but the reason you could do it with a text ring is because with a text ring, the associated data type comes from the index of the strings it contains. With an enum on the other hand, the associated data type comes from the actual strings it contains.

Regards,
Ankita A.
0 Kudos
Message 3 of 3
(2,622 Views)