Paul;
Unless "n" is a constant value or depend on the number of elements on the input array, you need an extra input to tell your subvi where to split the array.
You can explit an array using the "Split 1D Array" vi, located in the Array menu in the functions palette.
You can use the "Mean" vi located in:
Mathematics -> Probability and StatisticsWith this, certainly you can do what you want.
Regards;
Enrique
www.vartortech.com