Maybe the attached example will explain what I meant in my response to your other posting about creating a waveform data type inside the for loop. If you don't want to use waveform data types, use the normal analysis functions that expect an array instead of using the waveform analysis functions
p.s. It would be better to have this kind of discussion on a single thread instead of new postings all the time. Just click on the Comment button.