Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-17 Thread Ton
Thanks Mrab ... the way of how to use the pipe for the producer as well as the consumer is a bit confusing to me. As i am using the subprocess for both the producer and the consumer as above. Can you please explain me further using a bit of pseudocode. Thanks for ur concern. In Nov 17, 12:13 am, M

Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-16 Thread MRAB
On 16/11/2010 06:52, Ton wrote: On Nov 16, 1:47 am, MRAB wrote: On 15/11/2010 11:03, Ton wrote: On Nov 14, 11:55 pm, MRABwrote: On 14/11/2010 14:48, ton ph wrote:>Hi python geeks, I have problem which i have been trying to find out for the past some days, i have a device whi

Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-15 Thread Ton
On Nov 16, 1:47 am, MRAB wrote: > On 15/11/2010 11:03, Ton wrote: > > > > > On Nov 14, 11:55 pm, MRAB  wrote: > >> On 14/11/2010 14:48, ton ph wrote:>  Hi python geeks, > >>>     I have  problem which i have been trying to find out for the past > >>> some days, i have a device which feeds info to

Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-15 Thread Cameron Simpson
On 15Nov2010 20:47, MRAB wrote: | On 15/11/2010 11:03, Ton wrote: | >Hi Mrab, | > Thanks for your immediate reply , can you please guide me with any | >tool or library function which i can flush my fifo content .. i use | >os.mkfifo() to make the fifo. Or is there any other way i could do | >this

Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-15 Thread MRAB
On 15/11/2010 11:03, Ton wrote: On Nov 14, 11:55 pm, MRAB wrote: On 14/11/2010 14:48, ton ph wrote:> Hi python geeks, I have problem which i have been trying to find out for the past some days, i have a device which feeds info to my fifo continuosly, and a thread of mine reads the fifo c

Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-15 Thread Ton
On Nov 14, 11:55 pm, MRAB wrote: > On 14/11/2010 14:48, ton ph wrote:> Hi python geeks, > >    I have  problem which i have been trying to find out for the past > > some days, i have a device which feeds info to my fifo continuosly, and > > a thread of mine reads the > > fifo continuosly. Now when

Re: Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-14 Thread MRAB
On 14/11/2010 14:48, ton ph wrote: Hi python geeks, I have problem which i have been trying to find out for the past some days, i have a device which feeds info to my fifo continuosly, and a thread of mine reads the fifo continuosly. Now when i change a parameter in the device, it sends me di

Help: Guide needed in trying to delete/flush the content of a fifo file.

2010-11-14 Thread ton ph
Hi python geeks, I have problem which i have been trying to find out for the past some days, i have a device which feeds info to my fifo continuosly, and a thread of mine reads the fifo continuosly. Now when i change a parameter in the device, it sends me different values. Now my problem is that