LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView polymorphism?

Hi all,
 
I'm looking into using LabView object orientation but can't seem to find much about polymorphism.
 
I'm thinking of the C++ example where a parent class defines a method 'tune' and a child class overrides the method with its own 'tune' implementation.  A pointer to the parent class is then initialised with an instantiation of the child class.  Calling 'tune' on the pointer late binds and calls the child 'tune' implementation.
 
Can you do this in LabView 8.5?
 
Best regards
 
Phill 
0 Kudos
Message 1 of 4
(3,193 Views)

Hi,

 

Please find here some basic knowledge about Graphical Object-Oriented Programming. On this link you can find more information about Polymorphism in LabVIEW.

 

 

    Benjamin R.


Senior LabVIEW Developer @Neosoft


0 Kudos
Message 2 of 4
(3,190 Views)
 

What you're looking for is called dynamic dispatch.

The links in the previous reply do not refer to LVOOP, so you should start by reading this and following the links it has, specifically the one detailing the design and the reasons behind it.

I also suggest you go to the LAVA forums and look through the OOP board. The LVOOP team manager posts there frequently and it has a lot of important discussion about how things work, why they work that way and if they should be changed.


___________________
Try to take over the world!
0 Kudos
Message 3 of 4
(3,183 Views)
Just what I need - thanks!
0 Kudos
Message 4 of 4
(3,142 Views)