discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Generating hexadecimal data and printing directly


From: CEL
Subject: Re: [Discuss-gnuradio] Generating hexadecimal data and printing directly on the terminal
Date: Wed, 8 Aug 2018 19:01:10 +0000

Hi Guilherme,

1) "unpacked to packed" is probably what you want!
2) don't do that, unless you really want to "humanly read" that output.

Re 2): I just happen to explain why you shouldn't do that and how you
can circumvent the need to do that. In essence, the standard output (at
this time, at least) is not guaranteed to not be used by other blocks
and the GNU Radio scheduler itself. So, you  get into trouble if you
want to parse that.
Instead, use a file sink and a `mkfifo`-generated named pipe.

Best regards,
Marcus

On Wed, 2018-08-08 at 13:55 +0200, Guilherme Theis wrote:
> Hello,
> 
> I have developed a FSK demodulator flow in GRC and I am able to
> generate a file with the received bitstream. I have used the
> Parameter block to be able to fully setup my flow while running it
> from the terminal. There are two things I seem to not be able to find
> looking up online:
> 
> 1) How to convert my bits into a hexadecimal code (after my Bit
> Slicer);
> 2) Print the output in the terminal after running my "python -u
> myflow.py -options"
> 
> For the first point I could develop a embedded python block, but it
> would be great to have an already validated and used block for that.
> For the second point I have no clue at all to how to implement it.
> 
> Best Regards,
> 
> Guilherme Theis
> 
> _______________________________________________
> 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]