How to convert from message to complex/float

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

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, May 6, 2014 at 2:54 AM, Hoang Ngo K.
[email protected]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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs