Quantcast

How to avoid read/write conflicts ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to avoid read/write conflicts ?

Cassini
This post has NOT been accepted by the mailing list yet.
Hi,

A datalogging program writes every second new data in a .csv file.
I'm trying to refresh my gnuplot graph with the same frequency: once per second:

...
while (1) {pause 1 ; replot}

But apparently Gnuplot stops reading when both programs are accessing the datafile simultaneously.
How can I avoid this ?

thanks
Loading...