discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to change a flowgraph in c++ dynamically


From: Mostafa Alizadeh
Subject: Re: [Discuss-gnuradio] How to change a flowgraph in c++ dynamically
Date: Wed, 14 May 2014 14:05:37 +0430

It's better to say in this way: how could I use stop(), start(), lock(), unlock() of the topblock methods? Is there any example of them?

Thanks, 



On Wed, May 14, 2014 at 1:20 PM, Martin Braun <address@hidden> wrote:
On 13.05.2014 15:56, Mostafa Alizadeh wrote:
Thank you martin,

I saw examples before, but all of them used blocks in the main of the
c++ code. I wanna have a class derived from topblock of gnuradio and put
the blocks' connections in it. Then in the main of the program, run or
stop the topblock.

Can you give a part of the code in c++ ?

If it's not in the examples, I'm not sure what you exactly want.
Also, please use the mailing list for these kinds of requests.

M




On Tue, May 13, 2014 at 5:27 PM, Martin Braun <address@hidden
<mailto:address@hidden>> wrote:

    On 13.05.2014 11:05, Mostafa Alizadeh wrote:

        Hi everybody,

        I was wonder why I can't make a class of topblock in c++ like in
        python
        as said here:

        http://gnuradio.org/redmine/__projects/gnuradio/wiki/__TutorialsWritePythonApplicatio__ns

        <http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsWritePythonApplications>

        Then I think, I can control the flowgraph, start or stop it ,
        disconnect
        or connect blocks and anything else .

        Any idea?


    It's pretty much the same, just in C++.
    Have a look at the c++ examples in the source tree, that'll get you
    started.

    M


    _________________________________________________
    Discuss-gnuradio mailing list
    address@hidden <mailto:address@hiddenorg>
    https://lists.gnu.org/mailman/__listinfo/discuss-gnuradio
    <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>





reply via email to

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