If you bundle the two arrays, still as doubles, as you have where you wire it to the "To spreadsheet file", you can wire the 2D array to a Waveform Chart. To obtain the history outside the loop, all you need to do is right click the waveform chart->create->property node, and then you can access "History Data" from there. Also, on the front panel, you can right click on the waveform chart, and set the "Chart History Length" to include as many points as you need. It's best to not make this number much larger than you know you're going to need though, since I believe it reserves the memory for whatever size you specify, regardless of whether it's used.
Hope this helps,
Geoff
Attached is a vi that better demonstrates the above.
Message Edited by Novatron on 06-28-2005 03:50 PM