I think you've taken too much of unDees demo into your vi. You don't want the For loop and don't need the Split 1D array. You can move the For loop's shift register to your While loop.
As it stands: you get a point, convert it to a 1-D array (which has only 1 element), then split the array into the 1st element and the remainder. The remainder is empty and you're feeding this emptiness to the pt by pt average and peak detector.
=====================================================
Fading out. " ... J. Arthur Rank on gong."