|
From:
<br...@ph...> - 2006-05-18 17:32:41
|
Qiang Jiqing wrote: > I'm writing a program which solves a system of m differential > equations in C(m is variable). In each step, I should draw m curses in > the same graphic. To realise the real-time update of the graphic, I > thought of use the FIFOs and plot the fifos in each step. I don't think likely to be very useful. Either orinary data files, or inline data (--> help datafile special) would be better for this, depending on exact circumnstances. > The program hangs when it try to write in the second fifo. It's quite impossible to understand what this means without seeing source of "the program". > I guess the > problem is that gnuplot take just the first line in a time, First line of what? > it reads > only the first fifo until the program finishes, Not quite. It will read until the FIFO is at EOF, though, which in your setup may never happen. |