Just a quick note that of the two suggestions in the other post, Format to String is the better of the two when you have a large number of different kinds of values because, it takes up less space and is easier to use because you can see in the format string exactly how the data is going to be put together--no guesswork.
In terms of the broader question of how to save the data, it depends to some extent on your application. If it's running rather slowly and will run for an extended period, you might want to write to the file after every IO cycle. If on the other hand the acquisitions are very fast, you can save the data and write to a file after the acquisition finishes.
Can you tell us a little more about your application?
Mike...