Firstly sorry to post on two threads. Next, i got hold of a colleague's zip drive here's is the code with your modifications. But this is not functional in the following manner:
1.The programme treats time to write in file and execution time of while loop alike, which is not required.
If i give 30s for execution of while loop and 20s for file write time. and start writing at the same time when i start the while loop it works file, even if i give 20s for both and start both fuctions at the same time it works fine.
But when i mention 30s for execution of while loop and 20s for file write time, and start the write function after 10s of while loop execution. I dont get data worth 20s which i want in the file.
SO please suggest proper modifications
Thanks in advance.
Vaib