discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My block doesnt propagate tags, despite propagation policy set


From: Nikoloz Glonti
Subject: My block doesnt propagate tags, despite propagation policy set
Date: Fri, 5 Aug 2022 10:53:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]