LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rename class

Hi, I am quite new on LVOOP. I borrowed a class and its methods from my colleague's code and plan to modify it for my own project. I renamed the class by windows explorer. I found in all those original methods, the object labels are still unchanged. While for those new methods I created, the object labels have been changed to new class name automatically. If I couple this class into a project with changed name, will it cause any error in the future? I have spent some time google this question but could not find any answers. Many thanks in advance.

0 Kudos
Message 1 of 3
(3,690 Views)

The class objects are linked regardless of how they're labeled. If you don't have any broken run arrows, you should be fine.

 

The object labels are set within the VIs and aren't linked to the class name. Just like how you place a "String Control" on the front panel, then change the label, it won't change if you make it type-def and change the type def name.

 

There's a nifty toolkit called LVOOP Assistant, though, that you can use to rename all class objects to match.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


Message 2 of 3
(3,685 Views)

Thank you very much James!

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