09-03-2019 10:13 AM
Hello All,
I'm confused where to find the option to remove a child class from its parents class.
I see that I can change it's Inheritance (as seen in the attached picture). However, I do not see the option to remove let's say the AOP.lvclass from the Tests.lvclass
Reading through previous threads, it seems like this task is very unclear. Though I hope there's a simple solution that I just overlooked.
Regards,
OJwithPulp
Solved! Go to Solution.
09-03-2019 10:37 AM
The parent has no clue about any of the children that inherit from it. You have to make the change to the child class.
09-03-2019 10:38 AM
@OJwithPulp wrote:
Hello All,
I'm confused where to find the option to remove a child class from its parents class.
I see that I can change it's Inheritance (as seen in the attached picture). However, I do not see the option to remove let's say the AOP.lvclass from the Tests.lvclass
Reading through previous threads, it seems like this task is very unclear. Though I hope there's a simple solution that I just overlooked.
Regards,
OJwithPulp
Try changing its inheritance to the LV generic class and save all.
Ben
09-03-2019 11:14 AM
Thank you to both "crossrulz" and "ben" for the quick response. I was able to follow your directions and changed the child class inheritance to the default LV class. Which removed it from the Tests parent class it was originally filed under. Then I was able to remove it from the project altogether as well.
09-03-2019 11:23 AM
@OJwithPulp wrote:
Then I was able to remove it from the project altogether as well.
You should not have had to change its inheritance in order to delete the class from the project.
09-03-2019 11:29 AM
@crossrulz wrote:
@OJwithPulp wrote:
Then I was able to remove it from the project altogether as well.
You should not have had to change its inheritance in order to delete the class from the project.
Wasn't that changed in an early version of LVOOP?
Ben
09-03-2019 11:58 AM
@Ben wrote:
@crossrulz wrote:
@OJwithPulp wrote:
Then I was able to remove it from the project altogether as well.
You should not have had to change its inheritance in order to delete the class from the project.
Wasn't that changed in an early version of LVOOP?
Ben
I don't know about the early days of LVOOP (it was a long time before I started to dive in). But at least recently, I deleted a class from my project that did not use the LV Object as its direct ancestor. If the parent actually cared, then I could see an issue. But the parent has absolutely no clue who inherits from it.
09-03-2019 12:37 PM - edited 09-03-2019 12:39 PM
Well, this is what was happening to me before (see pictures). I would try and remove a class from the labview project and it wouldn't work in the sense that It can still be seen under the Test Parent Class.
09-03-2019 01:42 PM
@OJwithPulp wrote:
Well, this is what was happening to me before (see pictures). I would try and remove a class from the labview project and it wouldn't work in the sense that It can still be seen under the Test Parent Class.
It would still be there if it was still in memory due to a previous run of your software that used it. If you closed the project and opened it back up, it should be gone.