discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: How to import custom script to GRC?


From: Marcus D. Leech
Subject: Re: How to import custom script to GRC?
Date: Sat, 21 Nov 2020 13:40:29 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 11/21/2020 09:26 AM, Fabian Schwartau wrote:
Hi everyone,
I would like to built some flow graphs with GRC, but I need to write a
few custom python functions which I want to use in the flow graph. For
example I need to generate some filter coefficient and things like that.
I thought I just create a python script in the same folder, define some
functions, import the script with the Import block and I am good to go.
However, the Import block complains that the import failed and I cannot
start the flow graph.
What am I missing? What the the typical workflow in such case?

Best regards,
Fabian


The "Python Module" block takes care of that quite handily.





reply via email to

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