LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Replace a typedef by a another typedef everywhere in the programHi

Hi,
I would like to replace a typedef by an other typedef because im programming an evolution and I have to had some items to the typedef but If I just modify it, it will not match with the older version and I need the older version to keep working.
So would like to know if it is possible to automatiically replace a typedef or a VI by another one everywhere in the program.

Thanks.

Olivier
0 Kudos
Message 1 of 3
(3,599 Views)
One solution that may work is
1) Open all the VIs that contain the typedef you want to replace
2) Change the content of the typedef to match the other typedef
3) Use Save as to rename the typedef. Save it on top of the other typedef.

Now there are two possibilities. Either it works, or it breaks your code. So take a backup of everything before you try this. This save as functionality is at least in LV 8.0 and newer.

Tomi
--
Tomi Maila
0 Kudos
Message 2 of 3
(3,588 Views)
Hi,
that's what I have done and I seems to work even under LV7.1.1

thanks
 olivier
0 Kudos
Message 3 of 3
(3,582 Views)