LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to programatically traverse LabVIEW's internal class structures?

What I have in mind is if I have a given type of reference -- say to a ring control -- if there a way to programatically tell that it is a child of the class NamedNumeric, which is a child of the class Numeric, which is a child of the class Control?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 1 of 4
(2,683 Views)

LV15+ "Get Class Hierarchy From Class Name.vi" in the scripting palette.

0 Kudos
Message 2 of 4
(2,680 Views)
Perfect! Does this work inside a built executable? Some scripting does not, and this doesn't say.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 4
(2,667 Views)

I doubt the VI will work as written in an executable, but you can save a copy, create an indicator for the AllTypes[] array, run once and change it to a constant.  Then you can strip out all of the scripting code.

0 Kudos
Message 4 of 4
(2,658 Views)