Discussion:
Revisit:Populate ENUM labels via String[]
(too old to reply)
Jim@SONGS
2004-09-07 17:49:36 UTC
Permalink
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?
Jim@SONGS
2004-09-07 20:33:40 UTC
Permalink
To anyone reading this, I used a text ring instead of enum. The srings
are programmatically editable.
Ankita A.
2004-09-09 17:50:15 UTC
Permalink
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.

Loading...