Hello everyone,
I have a problem with my LabVIEW project. It has a general parent class I call “device” that includes common parameters and many public static and dynamic dispatch VI-s. Many dynamic dispatch VI-s are overwritten in inherited child class “subdevice” e.g. initialization VI-s etc. Child class has it’s own more specific parameters and methods. In the project has a general VI (device_PID.vi see the picture below) where I use my child class object and manipulate the class data. There goes the real action. Everything works fine with one member of child class. A problem arises when I add new class inherited from “device” class to the project. Then, my general VI and subVI-is are not executable. Example from Labview error details list:
1) “The subVI is not executable. You must fix all errors in the subVI before this VI can run.”
2) “One or more of the set of VIs which this dynamic dispatch subVI may call are broken. Each LabVIEW class may own a VI with the same name as a VI owned by the parent of the class or older ancestor. The dynamic dispatch subVI will call one of these VIs, chosen when the subVI actually executes. If any of the VIs are broken, then this subVI also is broken.”
If I enter the subVI the error list below appears:
“This VI's owning library has some problem. The library has blocked the VIs that it owns from executing until the problem is resolved. Please see errors listed on the library.”
Why are some dynamic dispatch subVI going broken?
Maybe someone can explain why it happens and how to avoid it. I have got stuck at the moment and can’t find a solution. Maybe the solution is already available somewhere in the forum but I have’nt found the right keyword yet.
Many thanks in advance