> Hi, I want to construct an n-dimension array from an 1-dimension
> array.
The LV diagram needs to know the dimensionality of the array at compile
time, but it is quite easy to append/replace items and subsets within
the array.
So, if you have an application that can produce a 2D, 3D, 4D, ... array
and you can't bound it, I'm really curious what this is doing, and you
are better off leaving the data in a 1D array and writing a cluster out
with it to give the encode and access information.
Presumeably a given diagram and loop will be working on one of these
sizes, lets say 3D. Drop down a Replace Subset node and wire the 3D
array into the top. The lower terminals will allow you to wire in the
information about what gets replaced. Be sure to read
the documentation
and look at some examples, as this is a powerful node that can replace a
single item, a 1D slice, a 2D slice, or a 3D subset. It might even be
better to make a small test VI with easy to recognize data and practice
a bit to get the hang of how you want to use it.
Greg McKaskle