06-19-2015 01:50 AM
Oh, by the way, the files not empty now. It just shows the recent value. Hence, I fiddled it with refnum. And that is when I started getting this. Again, one reading gets stored in the file.
06-19-2015 03:22 AM
Threre's only one reading in the file because you close the reference to the file inside the loop.
This also causes the error. Close that referece after the loop has finished.
Best regards
Florian
06-19-2015 04:17 AM
Thanks a lot Florian !
It worked !