Hi, all.
In a project using LVOOP, I have defined one parent class with several attributes. From this class, there are three child classes that inherit the parent class attributes and also have their own.
Imagine that I instantiate an object belonging to the parent class, and initialize its attributes. Then, I want this same object to belong to a particular child class, and refer to its child-class attributes, of course, keeping the parent-class values. How can I do that?
I tried using "To more specific class" tool but I get the following:
"Error 1448: Bad type cast. LabVIEW cannot treat the run-time value of this LabVIEW class as an instance of the given LabVIEW class."Exactly the same problem is posted and resolved here
http://lavag.org/topic/7473-lvoop-class-variable-as-child/, but because links are temporarily disabled I cannot download and understand the sample code, which shows what it stated there.
Thank you very much,
Francisco.