LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster to arrays

Solved!
Go to solution

Hi experts,

I am using a multiplexer to read 8 voltages using 1 analog channels. How do I arrange a cluster of 8 data points into separate arrays? The outcome must be 8 individual arrays (one for each temperature). The 9th cluster element (9th data read) must be the second element of the first array and so on.

Thanks

Hessam

0 Kudos
Message 1 of 6
(729 Views)

Your description is not clear. Why do you even have a cluster instead of an array?

How do you get the 9th cluster element if there are only 8 voltages?

Please attach a simple VI containing your data structures.

0 Kudos
Message 2 of 6
(710 Views)

I use DAQ assistant to read the data and it creates a cluster of voltage values. The voltages from 8 transducers are sent to channel 1 every 0.1 s, like: T1, T2 , ..... T8, back to T1, T2, ... , T8, and this pattern is repeated. I do not have a vi to share now. 

Thanks

0 Kudos
Message 3 of 6
(701 Views)

So use "cluster to array" to make an array of 8 elements, then append it to a 2D array in a shift register.

0 Kudos
Message 4 of 6
(689 Views)

Can I select the size of the array that is created after using cluster to array?

0 Kudos
Message 5 of 6
(687 Views)
Solution
Accepted by topic author HessT

The array will be the same size as the number of elements in the cluster.

0 Kudos
Message 6 of 6
(655 Views)