LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

two 1-D array to 2-D array

i have two 1-D arrays and i want to convert them either to 2d array or a single 1d array .......can anyone help me??????
Regards
0 Kudos
Message 1 of 6
(3,441 Views)

You can create a 2D or a 1D array with the Build Array function. By default, you will get a 2D array. If you right click on the build Array and select Concantanate Inputs, you will get a 1D out.



Message Edited by Dennis Knutson on 06-08-2008 09:47 PM
Message 2 of 6
(3,439 Views)
thanx a lot it really helped ..but if u can tell me how to break a 2d array into two oned arrays???? .. i am really very new at labview
Regards
0 Kudos
Message 3 of 6
(3,399 Views)

Hi nolsqn,

you can use the "index array" or "array subset" function.
I recommend to see the free courses: http://www.ni.com/academic/lv_training/d/how_learn_lv.htm

Mike

0 Kudos
Message 4 of 6
(3,397 Views)

to       dannis knight .....

i have used ur method it works ...but now i want to know that is there any way to get back the two 1 D arrays back from the 2 D array ???

Regards
0 Kudos
Message 5 of 6
(3,365 Views)

As Mike said, use the Index Array function.

I also think you should take the basic classes he mentioned. These functions are on the array palette. You should be working with Context Help turned on. As you move your mouse over a function, you get a brief description of what it does. You can also get a detailed description.



Message Edited by Dennis Knutson on 06-10-2008 10:17 PM
0 Kudos
Message 6 of 6
(3,359 Views)