ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Apply changes for ring typedefs ...

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.

 

Manu.net
0 Kudos
Message 1 of 3
(4,788 Views)

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. 

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 2 of 3
(4,773 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 3
(4,740 Views)