|From:||Jose Torres Diaz|
|Subject:||Re: [Discuss-gnuradio] Create a synchronous block using GRExtras|
|Date:||Tue, 6 Nov 2012 12:04:23 +1030|
Try gr_block::TPP_DONT . Note the namespace gr_block.
From: discuss-gnuradio-bounces+sean.nowlan=address@hidden [mailto:discuss-gnuradio-bounces+sean.nowlan=address@hidden] On Behalf Of Jose Torres Diaz
Sent: Monday, November 05, 2012 8:02 PM
Subject: Re: [Discuss-gnuradio] Create a synchronous block using GRExtras
Yes, I am using: set_tag_propagation_policy(). However, I'm not sure what is the parameter expected in order to not propagate tags.
On Tue, Nov 6, 2012 at 11:09 AM, Josh Blum <address@hidden> wrote:
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:
> 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);
> 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.
>>> 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
>>> 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:
>>> Discuss-gnuradio mailing list
>> Discuss-gnuradio mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|