04-20-2006 12:18 PM
04-20-2006 12:34 PM
04-20-2006 12:45 PM
04-20-2006 01:08 PM
04-20-2006 01:21 PM
Yeah, me and the other grunt, here, have been doing that, lately. It's the Sr. Principal Engineer that is complaining about not having the data at his PC upstairs, whenever he wants it.
Like I said, the tests can last months at a time.
I seem to be able to lose the LAN connection for periods of time and still get the data written, using only the "Write File" function. But, if I incorporate any "File Info" or "Flush" Functions, I get an error and lose the data. So, it looks like the only thing that can restrict me, is the size of the buffer.
04-20-2006 01:48 PM
04-21-2006 09:01 AM
04-21-2006 09:08 AM
My only concern with copying the data periodically, is that the copy might take a significant amount of time. If it is still copying when the file is trying to be written to, then there could be a conflict issue. Also, our tests rely on specific dwell times and ramp rates involving temperature. Adding a dely to copy the file, will mess up the dwells and ramps.
I think the best solution at this point in time is to save to the hard drive and copy the files over at the end of testing.
04-21-2006 06:27 PM
04-22-2006 01:48 AM
I have done something similar to what Sima suggested -- write to a temp file, and every so often, say 10 seconds, dump this into another "permanent" file (actually, I just change the extension and close this file, and open a new temp file). And while the system is writing to the temp file, I FTP the other files.
On the receiving end, I open the files and group the data back.
Hope this gives you some ideas.
-Khalid