Hi Marcus,

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

best,
Mostafa


On Thu, May 15, 2014 at 10:40 AM, Mostafa Alizadeh
<m.alizade...@gmail.com>wrote:

> Hi Martin,
> Thank you so much, :)
> The last example you mentioned, gr-uhd/examples/c++/tags_demo.*cc*, this
> will help me!!
> It's interesting example.
>
> Thank you.
>
>
> On Wed, May 14, 2014 at 2:32 PM, Martin Braun <martin.br...@ettus.com>wrote:
>
>> On 14.05.2014 11:35, Mostafa Alizadeh wrote:
>>
>>> 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?*
>>>
>>
>> [glados~/src/gnuradio]±(master⚡) ✭ $ ls **/examples/**/*.cc
>> gr-audio/examples/c++/dial_tone.cc
>> gr-fcd/examples/c++/fcd_nfm_rx.cc
>> gr-uhd/examples/c++/tags_demo.cc
>>
>> Cheers,
>> Martin
>>
>>
>>
>>> Thanks,
>>>
>>>
>>>
>>> On Wed, May 14, 2014 at 1:20 PM, Martin Braun <martin.br...@ettus.com
>>> <mailto:martin.br...@ettus.com>> wrote:
>>>
>>>     On 13.05.2014 15:56, Mostafa Alizadeh wrote:
>>>
>>>         Thank you martin,
>>>
>>>         I saw examples before, but all of them used blocks in the main
>>>         of the
>>>         c++ code. I wanna have a class derived from topblock of gnuradio
>>>         and put
>>>         the blocks' connections in it. Then in the main of the program,
>>>         run or
>>>         stop the topblock.
>>>
>>>         Can you give a part of the code in c++ ?
>>>
>>>
>>>     If it's not in the examples, I'm not sure what you exactly want.
>>>     Also, please use the mailing list for these kinds of requests.
>>>
>>>     M
>>>
>>>
>>>
>>>
>>>         On Tue, May 13, 2014 at 5:27 PM, Martin Braun
>>>         <martin.br...@ettus.com <mailto:martin.br...@ettus.com>
>>>         <mailto:martin.br...@ettus.com
>>>
>>>         <mailto:martin.br...@ettus.com>__>> wrote:
>>>
>>>              On 13.05.2014 11:05, Mostafa Alizadeh wrote:
>>>
>>>                  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/____
>>> TutorialsWritePythonApplicatio____ns
>>>         <http://gnuradio.org/redmine/__projects/gnuradio/wiki/__
>>> TutorialsWritePythonApplicatio__ns>
>>>
>>>
>>>
>>>         <http://gnuradio.org/redmine/__projects/gnuradio/wiki/__
>>> TutorialsWritePythonApplicatio__ns
>>>         <http://gnuradio.org/redmine/projects/gnuradio/wiki/
>>> TutorialsWritePythonApplications>>
>>>
>>>                  Then I think, I can control the flowgraph, start or
>>>         stop it ,
>>>                  disconnect
>>>                  or connect blocks and anything else .
>>>
>>>                  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
>>>
>>>
>>>              ___________________________________________________
>>>
>>>              Discuss-gnuradio mailing list
>>>         Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
>>>         <mailto:Discuss-gnuradio@gnu.__org
>>>         <mailto:Discuss-gnuradio@gnu.org>>
>>>         https://lists.gnu.org/mailman/____listinfo/discuss-gnuradio
>>>         <https://lists.gnu.org/mailman/__listinfo/discuss-gnuradio>
>>>
>>>         <https://lists.gnu.org/__mailman/listinfo/discuss-__gnuradio
>>>         <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>>
>>>
>>>
>>>
>>>
>>>
>>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to