ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cluster to array help

Solved!
Go to solution

I am fairly new to using clusters for this purpose.

 

Is there an eaiser way to do what I have shown in the clip below?

 

The bulit in cluster to array is not really any eaiser becuase then I have to index or use array subset to get the proper files paths or visa sessions.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 6
(3,445 Views)
you can use the cluster to array.vi
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 6
(3,440 Views)
and instead of using a for loop you could use an index array
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 6
(3,435 Views)

Yes but there are more than the five eliments shown in the clusters and cluster to array converts the entire cluster to an array.

 

Then I have to index out the single or element I need or use array subset the get the few I need.

 

That means I have to remember exactly what order the cluster elements are in, and I am trying to make things eaiser.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 6
(3,433 Views)
Solution
Accepted by topic author RTSLVU
what you have now is fine than if you have more than five element and you only want to extract a few
Message Edited by Harold Timmis on 09-28-2009 12:39 PM
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 5 of 6
(3,428 Views)

Harold Timmis wrote:
what you have now is fine than if you have more than five element and you only want to extract a few

 

I guess I am doing it right for once.Smiley Happy

 

Thanks.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 6
(3,397 Views)