Forum: GNU Radio How to change a flowgraph in c++ dynamically

D50c3828e720e33ce734d9124c97d960?d=identicon&s=25 Mostafa Alizadeh (m-alizadeh)
on 2014-05-13 11:07
(Received via mailing list)
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...

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

Any idea?
B4ffbc711addde4c649b1ed526df6157?d=identicon&s=25 Martin Braun (Guest)
on 2014-05-13 14:58
(Received via mailing list)
On 13.05.2014 11:05, Mostafa Alizadeh wrote:
> 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
D50c3828e720e33ce734d9124c97d960?d=identicon&s=25 Mostafa Alizadeh (m-alizadeh)
on 2014-05-15 04:41
(Received via mailing list)
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,
D50c3828e720e33ce734d9124c97d960?d=identicon&s=25 Mostafa Alizadeh (m-alizadeh)
on 2014-05-16 01:16
(Received via mailing list)
Hi Marcus,

what do you mean by *"run to completion" *?

best,
Mostafa


On Thu, May 15, 2014 at 10:40 AM, Mostafa Alizadeh
D17685d174fee4ca258c75cce7bc2202?d=identicon&s=25 Marcus Müller (Guest)
on 2014-05-16 02:34
(Received via mailing list)
Hi Mostafa,
I mean the run option "run to completion" in the GRC. GRC is like LEGO
for
communication engineers, if you play around with it, you'll soon be
having
fun and have an easier time understanding hints like this ;)
See http://imgur.com/YPUvyzm

Greetings,
Marcus
D50c3828e720e33ce734d9124c97d960?d=identicon&s=25 Mostafa Alizadeh (m-alizadeh)
on 2014-05-16 06:01
(Received via mailing list)
Hi Marcus,

Thank you,
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.