Forum: GNU Radio How to convert from message to complex/float

D41d5d1b903f356b90da0c2c8842b41b?d=identicon&s=25 Hoang Ngo Khac (Guest)
on 2014-04-29 08:51
(Received via mailing list)
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
D41d5d1b903f356b90da0c2c8842b41b?d=identicon&s=25 Hoang Ngo Khac (Guest)
on 2014-05-07 01:59
(Received via mailing list)
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
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2014-05-07 15:50
(Received via mailing list)
On Tue, May 6, 2014 at 2:54 AM, Hoang Ngo Khac
<khachoang1412@gmail.com>wrote:

>
Have a read of:

http://gnuradio.org/doc/doxygen/page_stream_tags.html

That will hopefully give you a better understanding of the tags.

Tom
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.