LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why labview class inherit makes me confused, help?

Solved!
Go to solution

I just make a tesk to know lavbiew class how to inherit, But the result make me confused,I make a picture like below:

123.png

"sub1" class inherit from "main" class, isn't it should comeout the "main.lvclass" in the dialogue box??? I'm using labview 2023Q1

0 Kudos
Message 1 of 4
(580 Views)
Solution
Accepted by topic author wen151

Hi Wen,

 

This is expected.

There is a difference between the wire type and the runtime type.

"To More Generic" simply adapts the wire type to the generic class, but does not modify the runtime type, so internally it stays as a "Sub1" object.

 

Regards,

Raphaël.

Message 2 of 4
(547 Views)

If you check help on the wire it should say main.lvclass

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(543 Views)

Thank you very much ,I know it now😀

0 Kudos
Message 4 of 4
(476 Views)