Forum: GNU Radio top_block start not returning

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0b340e859a347af049d444a0b4dc9f3c?d=identicon&s=25 Daniel Artis (dkartis1)
on 2016-02-01 07:01
Hi,

I have a simple connection with a null source and sink, but when I try
to start the top_block, the start function doesn't return. I'm simply
using the GrTemplate project for Android. I don't see the "Exiting
FgStart function message," any idea why?

gr::top_block_sptr tb = gr::make_top_block("fg");
gr::blocks::null_source::sptr src =
gr::blocks::null_source::make(sizeof(gr_complex));
gr::blocks::throttle::sptr thr =
gr::blocks::throttle::make(sizeof(gr_complex), 10000);
gr::blocks::null_sink::sptr snk =
gr::blocks::null_sink::make(sizeof(gr_complex));

tb->connect(src, 0, thr, 0);
tb->connect(thr, 0, snk, 0);

GR_INFO("fg", "FgStart Called");
tb->start();
GR_INFO("fg", "Exiting FgStart function");
This topic is locked and can not be replied to.