Paul W Posted June 13, 2008 Report Share Posted June 13, 2008 Playing around with LV 8.5.1 and LVOOP with UML Modeller from Endevo. Deleted a parent class. Decided it wasn't needed. Expected errors - AND got it. Error message is: This labVIEW class cannot find its parent class. (That is understandable) Details: This VI is part of a LabVIEW class. No part of the class is executable at this time because the parent class is missing. To fix this error, load the missing .lvclass file into memory or edit the class to inherit off of LabVIEW Object. LabVIEW Object is the ultimate ancestor class for all LabVIEW classes and is always in memory. Tried that, and it wonit work. Everytime I check the Inheritance in the properties, it says parent missing. Sooooo, I tried to create a new class with the same name as the original parent. The class is created in the dependencies folder and has no ctl. It is also marked NOT LOADED. Any other ideas how to fix it? I am a noob so the instructions need to be rather precise. OK, tried this and it worked. I changed the Inheritance to another (unrelated class) and that worked. :!: Then I could change the inheritance to the LabVIEW object class. Couldn't just go straight to the LV Object class. Had to go through an intermediary. :headbang: (Honest, this wasn't an attempt to up my post count.) Quote Link to comment
MikaelH Posted June 13, 2008 Report Share Posted June 13, 2008 QUOTE (Paul W @ Jun 13 2008, 04:26 AM) Error message is:This labVIEW class cannot find its parent class. (That is understandable) Any other ideas how to fix it? I am a noob so the instructions need to be rather precise. If run into strange problemslike this, you could always open the lvclass-fle in a text editor and try to modify it manually. Remove this line: <Property Name="NI.LVClass.ParentClassLinkInfo" Type="Bin">....................</Property> and the reopen the project. I always use the GDS function "GOOP->Modify this class inheritance", to do this, but in your senario it can't solve your problem. //Mikael Quote Link to comment
Paul W Posted June 14, 2008 Author Report Share Posted June 14, 2008 QUOTE (MikaelH @ Jun 12 2008, 05:41 PM) ... open the lvclass-fle in a text editor and try to modify it manually.Remove this line: <Property Name="NI.LVClass.ParentClassLinkInfo" Type="Bin">....................</Property> and the reopen the project. Thank you MikaelH, Even after straightening out the inheritance issue, I was getting this error: "LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. The file " is not a valid LabVIEW file." I searched through all the classes (Luckily only 2) in the project. The line: <Property Name="NI.LVClass.ParentClassLinkInfo" Type="Bin">....................</Property> was gone as expected. I tried searching for file and "" and """ but didn't see anything that looked wrong in the XML file. The program running fine. This was just a test run for some LVOOP and Endevo UML Modeller practice. Thank you again for the reply. Quote Link to comment
Aristos Queue Posted June 14, 2008 Report Share Posted June 14, 2008 I confirmed this bug. I'll file the bug report and post the CAR number here in a little while. [LATER] This was reported to R&D (# 115897) for further investigation. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.