Friday, August 5, 2022

My block doesnt propagate tags, despite propagation policy set

Dear Gnuradio community,

I have a problem - my block doesn't propagate tags from input 0 to
output 0 despite i set tag propagation policy in constructor to
TPP_ONE_TO_ONE.

Also, It can't detect tags in incoming samples when i call

> get_tags_in_window(d_work_tags, 0,0,noutput_items);
>
> for (const auto& tag: d_work_tags){
>     std::string keyName = pmt::symbol_to_string(tag.key);
>     if(keyName == "FirstSyncSeqDetected"){
>       uint64_t aaa = nitems_written(0);
>             add_item_tag(0, aaa, pmt::intern("FirstSyncSeqDetected"),
>                      pmt::from_double(0), d_src_id);
>     }
>   }
>

I wrote an OOT block - where I'm making moving average operation -
simple operations in for loops .

Thank You in advance!

Nikoloz Glonti

No comments:

Post a Comment