Fast SD Card Data logging

Thanks for the answer.

This way I'll be storing binary values. right? I need to read these values on my computer once the logging has been done. How can I do this?

Can you explain the timed opening/closing part a bit? Does the loop operate without closing the file while in the 10 second period and keep writing? Does the file has to be closed before reaching the 512 KB buffer limit?

Thanks