LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FP controls: Can name of superclass be obtained?

Solved!
Go to solution

Refnum to FP control can be used to obtain the class name (property Class Name). Is there any way to obtain name(s) or superclass(es)?

 

In this example the Class Name indicator always shows Enum. Can NamedNumeric (and probably Numeric and Control) be obtained?

 

CtlTypes.png

 

Thank you

_____________________________________
www.azinterface.net - Interface-based multiple inheritance for LabVIEW OOP
0 Kudos
Message 1 of 2
(116 Views)
Solution
Accepted by topic author _Y_

This can be done via the Get Class Hierarchy from Class Name.vi that's in the VI Scripting palette if you have scripting enabled

 

hierarchy.pngvi_hierarchy.png

 

Message 2 of 2
(77 Views)