07-22-2019 11:24 PM
Hi All
As the title states, is it possible to get the name of the parent class if I have an object of the child class? Is there an exist VI or property I can access?
For example, if I have a ChildB.lvclass that inherits from ParentA.lvclass, I want to be able to get the name "ParentA.lvclass" from ChildB.
Thanks
Mike
07-23-2019 01:55 AM
07-23-2019 03:23 AM
You could also make a get name method that returns an array. Force each child to implement the method, and to unconditionally call the parent method.
Why do you need this? If it's not for error reporting or debugging, there might be better solutions.
07-29-2019 05:33 AM
Do you need this at run-time or at edit-time?
07-30-2019 07:08 PM
Need this at run-time, preferably w/o having to install a 3rd party solution like GOOP.
However, I think I am going to work my way around it and try a different approach.
Regards
07-20-2020 05:36 PM
Once again, carya, you've pulled me from the jaws of sin. I'm now back on the path of righteousness - usinf DynoDispatch VI's for their intended purpose!
07-20-2020 08:16 PM