[Discuss-gnuradio] Unable to stop the flow graph after calling stop()

2014-02-01 Thread Activecat
Dear guru, I am trying to create a block similar to Vector Source. My objective is to stop the flow graph when the vector has sent out all its elements. (This is equivalent to Repeat: No in Vector Source) But the function stop() fails to work. The flow graph continue executing infinitely...

Re: [Discuss-gnuradio] Stop GRC flow graph after defined time

2014-02-01 Thread Activecat
Dear Josh, Your method below doesn't work on GNU Radio v3.6.5.1 In this case, how to stop the flow graph in v3.6.5.1 ..? Thanks regards, activecat Subject: Re: [Discuss-gnuradio] Stop GRC flow graph after defined time Date: Wed, 29 Sep 2010 08:33:49 -0700 User-agent: Mozilla/5.0 (X11; U;

Re: [Discuss-gnuradio] Rtl sdr

2014-02-01 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andrew, look into the knowledge accumulated on www.gnuradio.org ; After reading what is GNU Radio and why do I want it start with how do I use GR and then work yourself through the tutorials. GNU Radio is a great framework, and because of its

Re: [Discuss-gnuradio] Stop GRC flow graph after defined time

2014-02-01 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That run-to-completion method has never failed me; the only explanation for that kind of behavior would be if your flowgraph employed message passing. Is that the case? Anyway, to make GNU Radio stop the flowgraph when your source is empty, you

Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 135, Issue 1

2014-02-01 Thread John Blommers
The article reeks of “progressive liberalism” where they government is to be the solver of all problems. The antics of the San Francisco Municipal Transportation Agency speak volumes: The MTA has ignored the daily violations and has in turn stepped up enforcement of San Franciscans who violate

Re: [Discuss-gnuradio] Stop GRC flow graph after defined time

2014-02-01 Thread Activecat
Dear Marcus, Thanks. This solves the problem completely. In summary, to stop the flowgraph when the source is empty, we need to: 1). The source block's work() method returns WORK_DONE ( which is -1 ) 2). The sink block's work() method returns noutput_items Additional Questions: 1). In