Miaa,
I am assuming that your VI is not working at all like you are wanting, is this a fair assumption?
Your "Activate for collecting A_avg, B_avg, C_avg" and
"Activate for collecting D_avg, E_avg, F_avg" buttons do not do anything at
all.
You state that you are wanting to collect data for five minutes, how often are you wanting to collect this data? Are you wanting one sample per second? Etc etc.
We can help you get your program running the way you want, and we'll offer suggestions and provide examples on how to modify your program, but cannot write it all for you.
If you are able to get your .txt file logged successfully and are just wanting to know how to calculate the averages, we can begin with tackling that problem. However, I think we'll want to break this up into smaller pieces to assist you with exactly what you are wanting to do.
Regards,
Jared Boothe
Staff Hardware Engineer
National Instruments