Assuming you are talking about the program you attached earlier, with simulated data (i don't have the scope), it is writing the t0 and dt and Y array to a file with each iteration so for me, the everything is being written. Can you attach one of the files you've created? It would also help if you created an indicator on the output of the scope read function. Run the VI so that there is data there, stop the VI, go to Operate>Make Current Values Default, save the VI, and post that.