03-31-2019 02:43 PM
I am trying to dynamically build a 2D array of MxN dimension. In doing so, I know exactly the number of Rows and Columns required to build a 2D array. However, I find extra set of rows added to the array as shown in figure below. I am unable to find the error, the VI as a minimal working example is attached here. Also how can I conduct statistics on just some column values. For example in the table below with 20 columns I would like to calculate the statistics on just the final 3 values of Columns 4, 8, 12, and so on. Do I have to use Array Subset VI for each column? How could I implement this dynamically?
Solved! Go to Solution.
03-31-2019 03:06 PM - edited 03-31-2019 03:07 PM
Why do you work with "Insert Into Array"? You already created an 2D-array of the correct size so use "Replace Array Subset" instead of "Insert Into Array" within your FOR-loop.
Regards, Jens
03-31-2019 03:12 PM