04-15-2013 02:15 PM
Hello,
I have recently to update a Ring typedef, (Update of Ring text) and i had the bad surprise that my modifications
didn't applyed on the VI's which use it. (Constants are not updated, and controls of that typedef keep the old values)
Exemple : Ring typedef item XXXX value 1 updated to item YYYY value 1.
I also tryed to do the following update : Ring typedef item XXXX value 1 updated to item XXXX value 2.
And this also doesn't work.
The updates didn't work even if i forced temporally my type to "strict typedef".
Is this behaviour normal ?
Did i make something wrong ?
What do i have to do to make it work ?
PS : I am using LV2012 SP1.
I am using Rings in place of enums when i have to use "non continuous" values.
When i do the same updates with enum typedefs, there is no problem !
Thanks for your help.
(And sorry for my bad english)
Manu.net.
04-15-2013 04:50 PM
First, go kudo Add Sparse Enums if you haven't.
In terms of the not updating thing, it's normal. See Saverio's comment here for an explanation.
04-16-2013 08:53 AM
I think you can workaround the issue by replacing the ring with an enum and apply changes, then ctrl-z to get back to the ring.
It would ofc not be an issue if you had sparse enums ... (i've kudoed that idea)
/Y