Henry, The VI which you posted is not executable, and doesn't make very much sense.
A few tips: 1. Is this a SubVI? Or your main VI? If this is your main VI you should have an overall while loop which controls when the averages are taken. 2. You should use local variables instead of value property nodes, and you should generally use wires and shift registers in place of local variables. 3. What do you mean that you want to delete the array of peak values? Do you mean that you want to actually delete those valus from your original data or that you just don't need to use them any more? In LabVIEW it's not neccessary to delete an array after you use it, just don't use the wire again. You might want to look into buying a book or taking a class on LabVIEW programming, as I think that you may need to learn some more about dataflow programming. Regards, Ryan K.
