Store your data into an array during the while loop.
After the while loop, use the Write to Spreadsheet File to save it as a tab-delimited *.txt file, and open it in Notepad, Wordpad or whatever.
Or use the event structures to add a "Save Data" button.
Check out the examples, such as the Write to Text File.vi. Very helpful.
B-)