Use the "insert into array function" and place it in a case structure in the main loop. Every time the aquisition loop sees a carriage return (indicating data aquisition complete), append your new data to the array. Hope the attached example is what youre looking for.