LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 7 - failing to load a class that exists, is at the specified file location, and has proper inheritance

I've run into this problem before.  Or something similar.  I had to check the right box when building the Packed Library or something.  But nothing I'm doing now is getting this to work nicely.

 

LabVIEW2020 - anyone know of any known issues with Class loading?  I keep getting an error 7 saying it can't load the class despite the class being at the specified location, not having any error in either the parent or the child, and the inheritance being correct.  I can build both the the parent and child into separate Packed Libraries and have confirmed the inheritance is good.  So what gives?  Why won't it load the child from the specified file location despite it being right (as in I copy paste it into file explorer and there it is...)

0 Kudos
Message 1 of 4
(787 Views)

NVM, I think I figured it out.  The filepath has to be:

...\Instrument.lvlibp:Instrument.lvclass

 

Which is curious, I've been using a \ instead of : for a while now.  Weird...

0 Kudos
Message 2 of 4
(778 Views)

Well... now instead of an error unable to find the class... whatever class it's finding the parent class can't be made more into more specific and spits out a 1448 error.  Which is also curious considering when changing to more specific when using source classes, it's no issue.  But "built" into lvlib... no longer getting along.  What's going on?

0 Kudos
Message 3 of 4
(774 Views)

Here's a visual of what I'm dealing with

 

DailyDose_0-1676672339956.png

DailyDose_1-1676672349736.png

 

 

0 Kudos
Message 4 of 4
(765 Views)