LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ring AutoUpdate buggy ?

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
0 Kudos
Message 1 of 4
(2,759 Views)
here is a link to a discussion that I found that might suit your needs.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000016B20000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 4
(2,759 Views)
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
0 Kudos
Message 3 of 4
(2,759 Views)
Btw. I used LV6.1, so it's been like this for a while....

"Wiebe@CARYA" wrote in message
news:406991ba@newsgroups....
> 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 strict 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 ci
rcumvent 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
>
>
0 Kudos
Message 4 of 4
(2,759 Views)