Richard,
Thank you for contacting National Instruments. I think I understand what you are looking to do here, but it might be easiest for myself and others to help you more specifically if you post a screenshot of your code, or your actual VI. However, I looked into trying to achieve something similar, and used a loop structure to bring the information in from a file. Then, outside the loop, I used the Statistics Express VI from the Mathematics palette to obtain some statistical values. What type of statistics are you looking to receive from this program?
Jason W.
National Instruments
Applications Engineer