03-11-2022 05:18 PM
I have a Dyanmic dispatch wire in a subVI that will be over-ridden by one of a few available child classes, and want to add a case structure to do something different depending on which class is over-riding. How do I add code to determine which child class is over-riding?
03-11-2022 06:56 PM
You can use the Get LV Class Name VI to get which class is actually on the wire, but even that won't tell you for sure which class is overriding it because you won't be able to know with certainty which classes have overrides and which call their parent class.
What you're describing though is generally against OOP principles though. Can you explain more about what exactly you need to do differently and why you need to do it? There's almost certainly a better solution.
03-12-2022 07:25 AM
Just use a class method to do the "something different" for each class. That is the point of Dynamic Dispatch.