03-27-2025 11:56 AM
Hello,
I've been using LabVIEW OOP for some time now and have been creating overrides of parent methods without giving it much thought until recently. I tried to create an override for one of my VI drivers but none of the parent methods were showing up on the New VIs for Override dialog box with the exception of the accessors. Any ideas about what I may be doing wrong?
Thanks in advance!
Solved! Go to Solution.
03-27-2025 11:59 AM - edited 03-27-2025 11:59 AM
The obvious thought is that the class controls/indicators in the parent class VIs aren't actually Dynamic Dispatch on the connector pane. You didn't specifically say, so maybe it's been overlooked?
03-27-2025 12:21 PM
Hello elset191,
The class controls and indicators were set as dynamic dispatch in the parent class. I created the methods by selecting VI from Dynamic Dispatch Template. I also checked the item settings under properties and I couldn't figure out what I did wrong. I've attached the project file.
Thanks
03-27-2025 12:30 PM
Ah, I think none of them are showing up in the list because all of them already have overrides in the child. (except the accessors, which are in the list)
03-27-2025 12:43 PM
Hello Tim,
Thanks for your reply. For some reason I thought I must have done something wrong which caused the VIs not to show up on the list.
Thanks for prompt response. Much appreciated!