10-15-2009 07:01 AM - edited 10-15-2009 07:01 AM
Hello,
is there a simple way to convert a large 1D-Array of Cluster (Containing one Timestamp and one Data) into a 2D-Array with Timestamp and Data?
I could index the array in a while loop, unbundle each element and put the timestamps and the data into a new array.
The format of the new array could be an array of double (then the timestamp needs to be converted to double) or an array of strings.
Could I do that without a loop?
Johannes
LabVIEW 7.1 (!)
Solved! Go to Solution.
10-15-2009 07:18 AM
Here is a VI. It works, but is there no easier way?
LabvIEW 7.1
10-15-2009 07:57 AM
Hello Johannes,
if it's possible to handle your time stamps as dbl-floats, I would suggest to use a simple for loop and the cluster to array function (Cluster_to_Array_Mod1.vi).
If you want to stay with the time stamp data type, again use a for-loop, an unbundle cluster and build array function (cluster_to_array_Mod2.vi).
Regards,
Thomas