Hi all,
I have a large cluster (lets call it C_data) containing measured data e.g. 10 Temperatures, Pressure, (Temp_1, ...).....
All these data are measured once per second. I now collect all data
measured over a certain time in an array of the aforementioned cluster,
that is
an array of C_data. In order to display time series of data in graphs I
need to extract arrays of elements from this array of C_data.
In a text based programming language this could look like the following:
Struct C_data {Temp_1, Temp_2, P_1.....}
ar_C_data is an array of C_data
now I want to do something like:
array_of_Temp_1 = ar_C_data[*].Temp_1
In some programming languages this works but I cannot unbundle_by_name the array of Temp_1 from ar_data in Labview.
Since my cluster is large and may change in structure (for this reason I use a typedef) a generic solution would be the best.
I know that I could: loop over all elements of ar_C_data, unbundle by
name, index elements into arrays, and use these but this seems very
inefficient if it is done every second on a large cluster (30 elements) with several thousand array elements....
Olaf