discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] fifo / file source


From: ali mokdad
Subject: Re: [Discuss-gnuradio] fifo / file source
Date: Mon, 7 Oct 2019 14:34:49 +0300

Thx for your reply

"it's not quite certain which program you run in that terminal" 
I just wrote cat > in
even I run a .c file in the .c file I opened a file and the data are not sent only when I close the file.
do you know a special program I can test?


On Mon, Oct 7, 2019 at 2:11 PM Müller, Marcus (CEL) <address@hidden> wrote:
Hi Ali,

it's not quite certain which program you run in that terminal, but:
File I/O is usually buffered, and this sounds like the data is never
written to your FIFO before you exit your terminal program.

Solution: Use a terminal program that doesn't buffer or flushes
regularly.

Best regards,
Marcus

On Mon, 2019-10-07 at 13:41 +0300, ali mokdad wrote:
> Dear all
>
> I tested the following
>
> 1- in terminal, I created a fifo file by: mkfifo in
> 2- in terminal, I run: cat > in
> 3- in gnuradio i run : file source (in)  --> stream to tagged stream --> tagged stream to pdu --> message debug
> 4- in terminal, I write and press enter nothing is sent, only if I press ctrl c the all the data written in the terminal are sent to the message debug.
>
> How can I solve this problem?
>
>
>
> _______________________________________________
> 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]