Tuesday, February 26, 2019

Re: [Discuss-gnuradio] creating a embedded python-block with multiple output types

There's problem with the grc file - it doesn't load into grc.

The embedded python code is using ">" instead of ">" - at least that
was my guess.

So I replaced them. I haven't tested it yet - I don't have a HackRF with me.

As for your question, do you mean select a waveform in the signal source
block?

Unfortunately, I can't help you.

-- Cinaed


On 2/25/19 12:24 PM, Kristoff wrote:
> Hi,
>
>
> Last weekend, I've been playing around with python-blocks in python, one
> of the projects was to create a morsecode encoder block.
> (0.0.1 alpha-code here: https://github.com/on1arf/gr-morsecode-enc)
> The output-type of that block is complex64.
>
> Small question.
> How can I create a GNU Radio python-block that allows the user to select
> the output-type of the block, like -say- the signal-source block?
>
>
>
> Kristoff
>
>
>
> _______________________________________________
> 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