04-30-2012 09:54 AM
Hi there
I want to create a mesh plot using 3D co-ordinates (x,y,z) obtained from motion capture devices. Now the problem is my data output from the motion capture device gives me all three co-ordinates x,y and z as a 1D array whereas if I want to plot any 3D graph in Labview it requires x and y as 1D array and z as 2D array. I am collecting all three co-ordinates in real time as a 1D array. Is there any way to solve this?
Thanks guys
Jolanta
05-01-2012 06:07 AM
Hi Jolanta,
You can use the Build Array function to transform single points of data into a single element array equivalent. To transform a single element into a 2D Array, we can call the Build Array function twice.
05-01-2012 07:23 AM
Cheers
That sounds very convincing. I will try it out.
Thanks again
05-01-2012 11:05 AM
I
I tried using your method, but as you can see my 3 co-ordinates are function return and 1d array and single 32 bit return. So after building array of these three and giving it to index array the transformation is 2D and in your case its 1D. You think that affects the result?
thanks