Gnuradio message passing

Message passing is described in web site. I do not know where to put
codes in
c++ sync blocks. Can you please explain how to implement message passing
example. Do we need for loop in work function. How to return
And another thing. How to remove inserted GRC cusome module from GRC.


message passing is implemented asynchronously by binding functions to
message ports.
[1] is the page that explains message ports in great detail.
So first you declare your message ports preferably in your blocks
Than you bind one of your functions to an incoming message port. The
functions parameter has to be a pmt::pmt_t.
Everytime a message is published to this port, this function will be
For outgoing message ports, you just generate your pmt object and call
publish method.
Exact method names etc. are explained on the GNU Radio manual page.

happy hacking


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