Hi,
I’m newbie with PMT and I created a block was inherited from
gr::sync_block
and sent out messages.
Could you tell me how to receive messages from my block on topblock to
process them, please?
With best regards,
LTP
Hi,
I’m newbie with PMT and I created a block was inherited from
gr::sync_block
and sent out messages.
Could you tell me how to receive messages from my block on topblock to
process them, please?
With best regards,
LTP
Dear LTP,
your top_block [1] is a msg_accepter, just like every other block in
your system, and a basic_block. Hence, it has a a post()[3] method, it
has a message_port_register_in()[4] etc.
You should be able to follow what’s described in the Guided tutorials,
Part 5, section 5. [2] If you haven’t already, I strongly recommend
reading Part 1-4 first – they are a fun read (I hope), and they explain
a lot of the core concepts quite well.
Best regards,
Marcus M?ller
[1] GNU Radio Manual and C++ API Reference: gr::top_block Class Reference
[2] https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials
[3]
GNU Radio Manual and C++ API Reference: gr::msg_accepter Class Reference
[4]
GNU Radio Manual and C++ API Reference: gr::basic_block Class Reference
On Tue, Apr 21, 2015 at 3:21 AM, Marcus Müller
[email protected]
wrote:
Adding to Marcus’ list of references:
http://gnuradio.org/doc/doxygen/page_msg_passing.html
Tom
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs