[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Create a synchronous block using GRExtras
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Create a synchronous block using GRExtras |
Date: |
Mon, 05 Nov 2012 16:39:29 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 |
On 11/05/2012 04:12 PM, Jose Torres Diaz wrote:
> Thank Josh, it works.
>
> Can I ask kind of related question?. I would like to stop the block posting
> tags, in a GNURadio block, it is used:
>
> set_tag_propagation_policy(TPP_DONT);
>
> How to do it in block ()?. I tried this way, but gave me errors:
>
> gr_block::tag_propagation_policy_t tag_propagation_policy(TPP_DONT);
>
Use the set_tag_propagation_policy() member function. See
void set_tag_propagation_policy(gr_block::tag_propagation_policy_t p);
in block.h
_josh
> Thanks,
>
> Jose
>
> On Tue, Nov 6, 2012 at 5:31 AM, Josh Blum <address@hidden> wrote:
>
>>
>>
>> On 11/04/2012 03:08 PM, Jose Torres Diaz wrote:
>>> Hi All,
>>>
>>> Now I'm doing a block that uses stream instead of message passing.
>> However,
>>> my code is based on those provided in GRExtras. My block should be a
>>> gr_sync_block, however in GRExtras is used block() instead. How can I
>> make
>>> sure that my block is a synchronous block in this case?, because I cannot
>>> use directly gr_sync_block.
>>>
>>
>> The 1:1 ratio is actually the default mode of operation. See:
>>
>>
>> https://github.com/guruofquality/grextras/wiki/Blocks-Coding-Guide#wiki-work-operation-modes
>>
>> -josh
>>
>>> Regards,
>>>
>>> Jose.
>>>
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>