LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Choose Implementation Windows Options Grayed Out

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?

 

 

Choose Implementation.png

0 Kudos
Message 1 of 11
(4,562 Views)

A typo in the VIs name? Something like "Insert  Into HAL.vi" instead of "Insert Into HAL.vi"?

0 Kudos
Message 2 of 11
(4,516 Views)

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. 

0 Kudos
Message 3 of 11
(4,502 Views)

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?

0 Kudos
Message 4 of 11
(4,500 Views)

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.

0 Kudos
Message 5 of 11
(4,496 Views)

Are those classes still inheriting from the same base class? Could it be that the inheritance tree got messed up?

0 Kudos
Message 6 of 11
(4,472 Views)

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. 

0 Kudos
Message 7 of 11
(4,465 Views)

wierd, I'd contact NI directly.

0 Kudos
Message 8 of 11
(4,462 Views)

Yeah... It looks like its getting to that point.

0 Kudos
Message 9 of 11
(4,460 Views)

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?

Matt J | National Instruments | CLA
0 Kudos
Message 10 of 11
(4,432 Views)