10-02-2010 06:53 PM
You really need to provide more details. So what do you want to do with each 1D array? A for loop with a reverse 2D array function works if you do the processing inside the loop.
10-02-2010 07:52 PM
HI,
I don't understand why you need more information. I can make it more clear.
Send me you proposition if you have time and if you can.
Just to try, the point here is not what i will do with, it's what i want, decimate X the column of 2d array into X 1D array, that means at any time i can use a variable local refer to on column and make a treatment on it.
I want separat all the column make indicateur so in fact i will have X 1d array as a reference. and this array correspond to the column of the first array 2D.
if you put that in For loop then you will get only the last column.
I want the X column in X 1D array. so just with my VI i put at the beginning i want the column separate, no treatment behind, just indicateur array 1d
Ben
10-02-2010 07:57 PM
HI,
Its like when you use delete From Array, then you choose the column you want or the line, then you get acces at the column or line choose, but for me the point is i want to do that for all the column but i dont know the number of column i have.
Ben
10-02-2010 08:17 PM
http://forums.ni.com/t5/LabVIEW/Split-a-2D-array/m-p/145074
On this one aflores wanted tosepare two column for me i don't the number of column but if i have 50 column per example in an array 2d i want 50 1d array. this is the question
Thanks for your help
Ben
10-02-2010 08:18 PM
You can't dynamically create indicators unless you use scripting.
If you don't want to provide the information on why you think you need a unknown number of separate arrays instead of the single 2D you already have, then it's going to be hard to suggest an alternative.
10-02-2010 08:38 PM
HI
oki, now i see your point and in fact this is my problem.Create dynamically indicator.
Oki so let say i have 70 column then, first do have to be sure that there are all filled????
Then one solution will be to create a text file for all my column and then read it when i need?
I don't know i will try
Thanks for your help
10-02-2010 09:39 PM
Once your 2D array is created, you can dynamically index any column you want with the Index Array function. Just wire a value to the column input - not the row input. You will know how many columns you have with the Array Size function. Creating separate files is of course possible but slow and almost certainly unnecessary. It's just more effecient to keep the 2D in memory.
10-02-2010 11:04 PM
Hi,
Thanks but is not what i want, i want extract all the column in once, like the Unbudle option for cluster. As showned in my example.
Ben
10-02-2010 11:27 PM
Hi,
I will change the problem, i know the number of column by asking to the user it's 50. then in for loop i can extract my column that i am 100 % agree, but i cannot keep it in memory, the problem is that all the time my indicator will take the last column as value. and again what i want, and i don't know if is possible is to get 50 indicateurs with 1d array each corresponding to a column of 2d array.
Ben
10-02-2010 11:27 PM
I know what you want but you can't do that dynamically unless in a loop and that is why I keep asking what you want all of those separate 1D arrays for.