Hi Tom, and all, I've had a look at *PDU to Tagged Stream* block. Regarding to adding tags, both this block and *Burst Tagger *contains add_item_tag() function. Which block inserts the main stream tags? I don't quite under stand what *Burst Tagger* does since it contains both add_item_tag() and get_tags_in_range() function.
Thanks, Hoang On Tue, Apr 29, 2014 at 9:23 PM, Tom Rondeau <t...@trondeau.com> wrote: > On Tue, Apr 29, 2014 at 2:50 AM, Hoang Ngo Khac > <khachoang1...@gmail.com>wrote: > >> Dear List, >> >> I'm beginning with gr-mac. (https://github.com/jmalsbury/gr-mac). I need >> complex/float data to process but some blocks give message as output (*Tagged >> Stream to PDU*). I did try using *Message Source* to convert form >> message to complex but there was error with the ID: >> *NameError: global name 'blocks_message_soure_0_msgg_in' is not defined * >> >> Also, *PDU to Tagged Stream* takes *message* as input. The *Message Sink*was >> used but the similar error happened: >> >> Am I right using *Message Source* and *Message Sink*? If yes, how could >> I fix these error? If no, which blocks should be used? >> >> Thanks, >> Hoang >> <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio> > > > Take a look into the gmsk_radio hier_block used in simple_trx.grc. You can > see how the PDU messages are converted to streams of samples. That should > help you out with what you might want to do. > > Tom > > -- *Hoang Ngo-Khac* Vietnam National University, Hanoi (VNU-H) Univ. of Engineering and Technology (UET) Faculty of Electronics and Telecommunications (FET) Alternative email: hoangnk...@vnu.edu.vn Mobilephone: +84.163.682.7874
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio