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

2014-02-02 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Activecat! On 02.02.2014 03:30, Activecat wrote: Thanks. This solves the problem completely. :) Cool. 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

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

2014-02-02 Thread Activecat
Dear Marcus, Thanks for thorough explanation. Let me summarize the information, as below. Correct me if I am wrong. 1). For sink block derived from gr::sync_block, its work() function should return noutput_items, even though sink block doesn't produce any output. This is a norm.

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] Stop GRC flow graph after defined time

2014-02-01 Thread Marcus Müller
, 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; Linux

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

2014-02-01 Thread Activecat
-gnuradio] Stop GRC flow graph after defined time Date: Wed, 29 Sep 2010 08:33:49 -0700 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 You can use the Misc-Head block to limit the samples. Then set the flow graph options to run to completion

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

2010-09-29 Thread Thorsten Laude
Hallo, I'm executing a flow graph in GRC and want to stop this flow graph after some defined time, for example 3 seconds, or after a defined amount of samples. Currently I stop the flow graph by clicking on Kill the flow graph. How can I implement, that the flow graph is stopped automatically?

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

2010-09-29 Thread Josh Blum
You can use the Misc-Head block to limit the samples. Then set the flow graph options to run to completion, this option is only available in non-gui mode. See the options blocks. -Josh On 09/29/2010 04:31 AM, Thorsten Laude wrote: Hallo, I'm executing a flow graph in GRC and want to stop