LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Java style interface classes

hello,

is there anyway to implement the functionality of Java-Style interface classes in LabView 8.5?

If not is there any plans to implement such classes in future versions of labview?

thanks,
Paul
0 Kudos
Message 1 of 4
(2,541 Views)
Looks like you're not the only one who wants them. If Tomi doesn't know that they're there, I guess they're not.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,532 Views)
Glad to hear I am not the only one.

Tomi would like Scala type traits, and mixin composition. I am not familiar with Scala, but it seems they are similar to Abstract classes in Java, where a partial implementation of methods is allowed.

These types make you code follow a structure. Would be nice to have them in Labview too!

paul.
0 Kudos
Message 3 of 4
(2,520 Views)

Hi Paul,

As of yet, LVOOP does not support multiple inheritance or interfaces.  Check out the article LabVIEW Object-Oriented Programming: The Decisions Behind the Design under the heading "Do you have support for multiple inheritance?".  Since it's mentioned as being a lower priority, I don't know that we will be seeing it added any time soon.

Regards,

David_B
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,504 Views)