Hi,
I want to write a program to rename every element on my blockck diagram. I had difficulty when rename a typedef inside a typedef cluster.
for example, I have a target VI contains only one constant in its BD. The constant is a cluster. It has only one element: a typedef string constant with a name tst1 String 1.ctrl.
My plan was to create a copy of the string typedef with a different name, tst2 String 1.ctrl, and use the "replace" to replace tst1 String 1.ctrl.
The same code works if the cluster is not a typedef. However, I got an error from the replace invoke node when the cluster is a typedef.
It seems that it does allow me to replace it since it is an element of a type def.
Is there any way I can achieve what I want, even when there is type def inside type def?
The target VI and the VI script VI are in the attached zip file.
Thanks in advance,
L