discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Start function not Returning


From: dkartis1
Subject: [Discuss-gnuradio] Start function not Returning
Date: Mon, 1 Feb 2016 11:53:37 -0700 (MST)

Hi,

I have a simple flow graph with a null source and sink, but when I try to
start the top_block, the start function doesn't return. I'm 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");



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Start-function-not-Returning-tp57980.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

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