# Rewrite rx\_time tag in tagged\_file\_sink

**URL:** <https://www.ruby-forum.com/t/rewrite-rx-time-tag-in-tagged-file-sink/233696>\
**Category:** GNU Radio\
**Created:** [January 5, 2015, 5:40am UTC](https://www.ruby-forum.com/t/rewrite-rx-time-tag-in-tagged-file-sink/233696 "2015-01-05T05:40:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 5, 2015, 5:40am UTC](https://www.ruby-forum.com/t/rewrite-rx-time-tag-in-tagged-file-sink/233696/1 "2015-01-05T05:40:35Z")

</div>

Hello list,

What would be a good approach to rewrite the rx\_time tag in  
tagged\_file\_sink with my own information?? I am triggering a burst  
tagger wit a power squelch. What I want to get is timestamp  
information and channel info.

Thanks

---

<div class="post-metadata">

**Author:** ![luis21\_futur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/87869e/32.png) [@luis21\_futur](https://www.ruby-forum.com/u/luis21_futur)\
**Post date:** [January 5, 2015, 8:18am UTC](https://www.ruby-forum.com/t/rewrite-rx-time-tag-in-tagged-file-sink/233696/2 "2015-01-05T08:18:24Z")

</div>

On 01/05/2015 05:39 AM, Luis C. wrote:

> Hello list,
> 
> What would be a good approach to rewrite the rx\_time tag in  
> tagged\_file\_sink with my own information?? I am triggering a burst  
> tagger wit a power squelch. What I want to get is timestamp  
> information and channel info.

Probably by adding in a custom block that does exactly that.  
This’ll be a few lines of code in Python, if that’s enough  
performance-wise.

M
