Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66852

looking for a fast way to convert cluster array to N arrays

$
0
0

Hi all,

  I am trying to feed a cluster array into Mathscript but I find that the name of each element in the cluster must satisfy some rules so to avoid the compile error. I have an array fo cluster containing 3 clusters, each cluster have 4 elements (named "initial speed [m/s]", "acceleration", "initial position [m]", "time [us]"). I need to break down the cluster array into 4 arrays each contains all elements for "initial speed [m/s]", "acceleration", "initial position [m]" and "time [us]" respectively.


 For example,

array 1 contains 4 elements for "initial speed [m/s]",

array 2 contains 4 elements for "acceleration",

array 3 contains 4 elements for "initial position [m]",

array 4 contains 4 elements for "time [us]"

 

is that any easy way to achieve that?


Viewing all articles
Browse latest Browse all 66852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>