discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Basic block in EPY block?


From: Jeff Long
Subject: Re: Basic block in EPY block?
Date: Fri, 22 Jan 2021 07:25:24 -0500

There is also no set_auto_consume() function, at least in 3.8+, so the example you are looking at has multiple bugs. Take a look at https://wiki.gnuradio.org/index.php/Embedded_Python_Block instead.

On Fri, Jan 22, 2021 at 6:30 AM Jeff Long <willcode4@gmail.com> wrote:
That line (import gnuradio.extras) looks like a stray piece of code. Delete it and see what happens.

On Fri, Jan 22, 2021 at 4:07 AM Steffen Kiel <SteffenKiel@outlook.dk> wrote:
Hi all.

Following the python example at https://wiki.gnuradio.org/index.php/Types_of_Blocks it should be possible to create basic blocks in python, but when trying to import the gnuradio.extras module, it gives an error saying it doesn't exist:

Can't interpret source code: No module named 'gnuradio.extras'

I am using GRC 3.8.2.0. Is this not possible in a embedded block?

reply via email to

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