Visual c++ and Excel

hi guys i need a help. i have an aircraft battery which contains 20 cells which has different voltage values (nominal of 1.2V). i have to display it in a excel spreadsheet where the voltages of the 20 cells would be displayed in the first row. after a specific delay eg. 10 seconds, the readings of the cells would be taken again and be stored in the second row. the battery is connected to an analog multiplexer first then to an arduino board. i interfaced arduino and visual c++. i managed to complete the first row. but im having difficulties doing the second row. someone help me!
you need to loop it how many times you want it to run, put in a delay 10 secs.

I want it to run forever. How do I put a delay in c++?
Topic archived. No new replies allowed.