If you want a text file in comma or tab separated data, then all you have to use is Write to Spreadsheet File.vi which will save either a 1D or 2D array array of data (i.e. 1 or 2 traces). If you want to write directly to Excel, you can modify the Write Table to Excel.vi example. There have been other Excel examples posted to the forum that you could do a search for.