|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] How to convert from message to complex/float |
Date: | Wed, 7 May 2014 09:49:01 -0400 |
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 <address@hidden> wrote:
On Tue, Apr 29, 2014 at 2:50 AM, Hoang Ngo Khac <address@hidden> 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
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-KhacVietnam National University, Hanoi (VNU-H)Univ. of Engineering and Technology (UET)Faculty of Electronics and Telecommunications (FET)Alternative email: address@hiddenMobilephone: +84.163.682.7874
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |