Hi,
As a type def it is supposed to be like this. An enum does this 'correctly'
because the elements are part of it's type. However, the data in a ring is
just data, so it isn't updated by a type def (because it only defines the
type).
As a strict type def there is a bug. Controls and Indicators do update when
the strict typedef changes, but constants do not. From the help, it seems
that they should (although it doesn't mention constants):
"A strict type definition forces almost everything about the control to be
identical, including its size, color, and
appearance. Strict type definitions also define other values, such as range
checking on numeric controls and the item
names on ring controls."
For a solution, you could change te representation of the str
ict type def
(from U16 to I16, save the control (, and change it back again, from I16 to
U16, if needed)). Each time you do this the constants get updated too. Not
very convenient, but for now does the trick.
Regards,
Wiebe.
"Oliver Friedrich"
wrote in message
news:Xns94BC9173F929Doliverfriedrichtzmde@129.143.4.4...
> Hallo,
>
> I have an Enum template as strictly type def. Editing the template auto
> updates all the instanies in the block diagram, wonderful!
>
> Now I have a ring constant as strictly type (also tried as type def).
> AutoUpdate doesn't work at all. I think there can be two reasons.
>
> Either there's a deeper sense in that behaviour or it's simply a bug !
>
> Which one is it and how can I circumvent this. I can't use an Enum in this
> case because I mustn't start at 0.
>
> Regards
>
> Oliver
>
> By the way, it's LV7Express