discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Run GRC flow graphs using python from command lin


From: Moritz Luca Schmid
Subject: Re: [Discuss-gnuradio] Run GRC flow graphs using python from command line
Date: Sun, 14 May 2017 00:36:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hey,



Hi,

Is there any way to run GNU Radio flow graphs using python from the command line?
You can usually run your GRC generated python script from command line. The execution of the flow graph in GRC is the same operation like running the generated python file manually over the command line.


I have built the flow graph for a FM Receiver in GRC and have generated the .py file. Executing the flow graph in GRC works fine. However when I run using python:
python WBFM_Rx.py
I get an error saying "ImportError: No module named osmosdr"
I don't know why this error occurs, but maybe you can see, if the osmosdr module is imported in the auto generated python file. If not - you can import it manually to solve this issue. But usually it should be imported automatically.


Best

Luca



reply via email to

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