02-16-2011 04:33 AM
Hi I have written a vi to try and work out if the write speed of the SD cards I am using in my 9802 module are up to writing at the data rate I need, however I now have the issue that when I reopen the SD card file, apart from when it opens for the first time, the size of the file doesn't actually change?
It seems that on the first open, ie when the file is created everything works perfectly, however as soon as the file closes it is write protected and therefore I can open it but not make any changes.
Any help would be greatly appreciated,
Dominic
Solved! Go to Solution.
02-17-2011 08:32 AM
Ok,
I have basically solved this, it seems I was overwriting the data from the start of the file rather than appending to the end.....
A simple inclusion of a "get file size" and "set file position" solved it.
Cheers,
Dom