discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] questions about tagging


From: ragh
Subject: [Discuss-gnuradio] questions about tagging
Date: Tue, 14 Jun 2011 10:22:13 -0700

Hi,

I have looked at the python examples tagging where a trigger signal is used to insert "burst" tags at various stream sample locations. However, what I would like to do is add a tag at the first sample of a packet. The tag will be called "send_at_time" and will have a value of time at which to send. Following questions arise (I am assuming the use of send_pkt() used in examples in digital):

1. Is it possible to tag the first bit?  For e.g. can I modify "message_from_string" called in pkt.py (if I can find the source for it)
msg = gr.message_from_string(pkt,time_to_send)

2. If tagging bits is not easy to do, is there some property of stream samples that indicates "first sample of a packet"?

Thanks,
Ragh





reply via email to

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