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
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment