|
From: | Hoang Ngo Khac |
Subject: | Re: [Discuss-gnuradio] How to convert from message to complex/float |
Date: | Tue, 6 May 2014 13:54:01 +0700 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |