03-03-2024 05:29 PM
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
Solved! Go to Solution.
03-03-2024 06:26 PM
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.
03-03-2024 06:38 PM
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
03-03-2024 06:52 PM
So use "cluster to array" to make an array of 8 elements, then append it to a 2D array in a shift register.
03-03-2024 06:54 PM
Can I select the size of the array that is created after using cluster to array?
03-03-2024 09:51 PM
The array will be the same size as the number of elements in the cluster.