09-02-2010 06:00 PM
I'm having some issues with supposedly strictly-typed references.
Can anyone look at the code attached (LV2010) and tell me why the top example doesn't work and the bottom does. More over, what's the general way to make the top example work?
The discussion of strict and weak typed is rather short in the documentation in the help. Any pointers to relevant documentation would be appreciated.
Thanks!
Solved! Go to Solution.
09-02-2010 06:36 PM
You can not write the Strings[] property of an Enum while the VI is running. If you need to do this, one common way is to use a Text Ring instead of an Enum.
09-02-2010 08:30 PM
I swear I read that help page like ten times and now I finally see the caveat in documentation. It would be nice if they mentioned this in the Enum Property page or in the table for Strings[] in the documentation instead of hiding it in the documentation.
That said, now that you say it, it's obvious why. I wish the error I received (1082, I believe) could also be a bit more specific as I don't explicitly make the enum a strict type def, it simply is implicitly.