[Top][All Lists]

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

Re: [Discuss-gnuradio] GNU Radio Python execution from C++

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] GNU Radio Python execution from C++
Date: Wed, 13 Aug 2014 19:06:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Mark,

in many cases, you should just construct your top_block in C++, start()
and stop() it from there and leave python alone.

On 13.08.2014 15:43, address@hidden wrote:
> I want to start up and control GNU Radio top_block.py from a C++ class I have 
> written. My thought was to execlp() python on the top_block.py file. I run 
> into a problem because I do not have a good way to kill GNU Radio from my 
> class short of sending a SIGINT. How do you recommend I do things? 
> I'm somewhat new to GNU Radio and Python and imagine there are better way to 
> do things. I realize I can code my radios directly by coding in C++ or 
> Python, but I want to allow users to run GRC GUI to define the radios so I 
> want to use the GRC file to describe the radio and generate the Python file 
> using grcc.
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

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