discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] FIFO file , File sink , File souce


From: Amirhosein naseri
Subject: Re: [Discuss-gnuradio] FIFO file , File sink , File souce
Date: Wed, 20 Jun 2018 12:09:08 +0000 (UTC)

Tnx Marcus for replying

so based on what u said ... we can not use such configuration with FIFO , is it ture???
if NO , what is the solution???

On Wednesday, June 20, 2018, 4:28:52 PM GMT+4:30, Müller, Marcus (CEL) <address@hidden> wrote:


That's normal FIFO behaviour! From `man 3 mkfifo`:

> Opening a FIFO for reading normally blocks until some other process
opens  the  same  FIFO for writing, and vice versa.

Remember, the GRC file is just converted to a Python program, in which
the different blocks are instantiated sequentially. Now, the problem
follows is that you can't even initialize the file source if the file
sink doesn't finish initializing, or the other way around, whichever
comes first.

Best regards,
Marcus

On Wed, 2018-06-20 at 10:52 +0000, Amirhosein naseri wrote:
> Hi everybody,
>
> I have a simple GRC like this:
>
> Signal Source ------> Throttle ------> File Sink
> File Source ------> Throttle -----> Qt Freq Sink
>
> and i have a Piped File with mkfifo that GRC work with it. but when i run GRC , it freezes ....... Why???
>
>
> Tnx??

> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]