10-12-2012 06:26 AM
I have issue with binary file recording in the RT system
i have started recording from the host system
after some time suddenly power to the RT system is gone
then in rt system,file has been created but data is lost
it is showing 0(zero) bytes
Any other faced this issue
Solved! Go to Solution.
10-12-2012 07:27 AM
The file might have got crashed due to the power failure. Try to take the data from the RT and write the data to the file in the host system.
10-12-2012 07:42 AM
Hi vara_prasad,
Are you writing the file to storage on the RT system or is the file being written by the host to your PC storage? The power cut may be crashing the program on the RT system before it gets to write the file.
10-15-2012 02:57 AM
File may be crashed,but data written before power cut has to be in file ,but it is showing zero bytes
10-15-2012 03:13 AM
I don't think so, the data will be present only when you properly close the file (Correct me if I am worng). I am not that in explaining why so I would look forward for an explanation why
10-15-2012 06:48 AM
My understanding is that the data is written, but the indexing to access the data isn't done until the file is closed. Therefore, the data cannot be accessed.
The other possible explanation would be that the data is just being put into a buffer to be sent to the harddrive. There is a flush buffer function. Maybe this will help?
10-19-2012 01:01 AM
In Flush Buffer,it is explained that,data is present in buffer till the buffer is filled