LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

composite class

Solved!
Go to solution

Hello,

 

I would like to know if there is a way to automaticaly scan class  of composite class.

or at least obtaining a list of classes used to compose 

 

i tried to add a member vi using "cluster to array" function  but it doesn't work ,

It s a little bit surprising as we can use bundle and unbundle but not cluster to array !

 

i 'm forced to explicitly transform cluster of classes in array of classes...

after that  i can apply a common method on array

 

Does anyone know a better way

 

Best regards

 

Tinnitus

 

 

 

 

 

Best regards

 

Tinnitus

 

 

 

 

 

 

 

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 1 of 3
(2,601 Views)
Solution
Accepted by tinnitus

nobody ?

 

Regards

 

Tinnitus

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 3
(2,569 Views)

My french friend,

 

it is a bit hard to understand what you are trying to ask. Maybe some pictures (uml or lvoop) might help Smiley Wink

 

I guess you are just touching the limits of what is currently implemented as LVOOP. You could place all classes your class is composed of in an array and place this in the private data cluster. But then you will need to do type-casting or use the preserve runtime class(?) primitive inside a for loop. Sadly LVOOP doesn't support generics (like linked lists of objects that type-cast behinde the scenes).

 

Also try a cross-post on LAVA, there are some coole LVOOPers there that only occasionally visit this place.

 

Felix

Message 3 of 3
(2,560 Views)