Also, much depends on how the file is opened by the monitor program. If you open it exclusive, don't.
If the monitor program opens it in buffered mode, then the plot ptogram won't always have up to the second data and will also have to deal with partial records.
Since you only sample once per second, you'll have plenty of time to flush the file after each write.
Which OS and language are you using?
Main Topics
Browse All Topics





by: cookrePosted on 2002-03-24 at 08:33:21ID: 6892269
Have you tried explicitly opening the file in read only mode in the plot program?