GDS(Goop Development Suite)

cancel
Showing results for 
Search instead for 
Did you mean: 

Cloning native LVOOP Class does not update control names.

If you clone LVOOP myclass1 to myclass2 and then open the new myclass2, all the class controls and indicators will still be named myclass1.  I have created a scripting VI to clean this up.  I would like to see this fixed in a future version.

-John

-John
------------------------
Certified LabVIEW Architect
0 Kudos
Message 1 of 3
(4,403 Views)

It should be applied to renaming classes as well.

0 Kudos
Message 2 of 3
(3,841 Views)

I think there are VIs to do this inside

  • LabVIEW 2012\resource\dialog\NewProjectWizard

(or later versions)

I think I wrote them, but I cannot remember now. Poke around and see if you find something. This is the code that generates a new project from the project templates. As part of that, we rename the controls/indicators based on the names you give to new projects. You might be able to borrow lots of that code in the future to improve template instantiation. I have grand visions of these two chunks of code getting much more unified -- the GDS and the project template wizard.

0 Kudos
Message 3 of 3
(3,841 Views)