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
(940 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
(907 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
(903 Views)

Thank you very much ,I know it nowπŸ˜€

0 Kudos
Message 4 of 4
(836 Views)