06-26-2018 12:36 PM - edited 06-26-2018 12:47 PM
I have a dynamically dispatched VI called "Insert Into HAL.vi" that inserts HW objects into my HAL.
In the image below, you can see the Choose Implementation window that allows me to select the specific implementation when I double click on Hardware.lvclass:Insert Into HAL.vi. All three frequency counter options are grayed out. Those options are for the classes Frequency Counter.lvclass, 53131A.lvclass, and 53220A.lvclass.
I don't understand why these are grayed out. All three of these objects have an implementation of Insert Into HAL.vi and none of them are broken. Why are these three grayed out in Choose Implementation?
06-27-2018 02:17 AM
06-27-2018 12:33 PM
There aren't any typos. These VIs were created by right clicking on the class they belong to and selecting New -> VI for Override, so they were made exactly the same.
In fact, this did work at one point, but I refactored the Frequency Counter classes and this happened.
06-27-2018 12:38 PM - edited 06-27-2018 12:39 PM
Is there any chance part of your refactoring changed the connection panes on these VIs so they don't match the top level exactly now?
06-27-2018 12:42 PM
Nope, they are the same. Even if I had changed their connector pane, I'd expect them to have a broken run arrow, not be inaccessible from the Choose Implementation options dialog.
06-28-2018 04:42 AM
Are those classes still inheriting from the same base class? Could it be that the inheritance tree got messed up?
06-28-2018 09:38 AM
Inheritance is still correct. I've even tried changing their inheritance to inherit from the LabVIEW base class and then changing back to inherit from the Hardware class and the same thing still happens.
06-28-2018 09:42 AM
wierd, I'd contact NI directly.
06-28-2018 09:43 AM
Yeah... It looks like its getting to that point.
06-29-2018 12:05 PM
Could you provide a stripped down version of this project which demonstrates this behavior? Something like a project with just the Hardware, Frequency Counter, 53131A, and 53220A classes with the Insert Into HAL methods (even if this methods have nothing in them as well?