LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

indexing cluster programmatically

hello, 

 

I have a cluster in which i m looking for information but not using unbundle function because 

 

i do it from two information of array during execution , i would like to obtain the same that with unbundle Pont isotech. Fichier Corr

 

it looks like database search ...

 

 

it works for first step but not last.

Any idea on how to proceed with using pont isotech cluster ?

 

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,489 Views)

Because you have nested clusters, you need two for loops for the big cluster. Type cast the Controls in the outer loop to a cluster (pay attention to error handling), then obtain the names in the second loop.

Also use the name to perform a search 1D array (on the small cluster which is converted to an array) to get the value index you want to obtain. You don't need to go through the cluster n times...

Also use the variant to value for the type cast if all will be of type path.

 

Felix

0 Kudos
Message 2 of 3
(2,486 Views)

sorry don't you have time to correct my  vi

 

 

It was just an example but i need to scan n times because i 'm looking Fichier corr for each element in 1d array

 

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 3 of 3
(2,478 Views)