02-13-2009 03:46 PM
Hi everyone,
I searched for this problem in the forum but seems no posts quite answered it.
I got stuck by recording data in a while loop.
I have a while loop, inside which there is two outputs in each iteration I want to add to an array, then after the while loop is finished, I want to combine these two arrays into a 2D array (since the output of them should be a pair in my case).
I tried 'Build array' and 'transpose array' ,and 'write to spreadsheet' element together, what keeps bothering me is how to just append the output to a 1D array during each iteration, these 2 ouputs are in numeric format, which prevent to to directly create an array for it.
Any idea is well appreciated,
Thanks,
Kunsheng Chen
Solved! Go to Solution.
02-13-2009 04:13 PM - edited 02-13-2009 04:20 PM
I think I understand what you're asking. Each Numeric represents the outputs you mentioned; the tunnels will collect each output and build a 1D array of each. The build array makes them into a 2D array.
Jim
02-14-2009 11:56 PM
Heres some other ways to insert.
Hope it helps
02-17-2009 09:35 AM