ZMQ PUB Message Sink

From GNU Radio
Revision as of 01:59, 25 February 2020 by Duggabe (talk | contribs) (add example flowgraph)
Jump to: navigation, search

The ZMQ PUB Message Sink receives messages from a flowgraph and publishes them on a ZMQ PUB socket. A PUB socket may have many subscribers and will pass all incoming messages to each subscriber. Subscribers can be either a ZMQ SUB Message Source block or a non-GNU Radio ZMQ socket.

Parameters

(R): Run-time adjustable

Address
ZMQ socket address specifier. The format of the address is tcp://*:port where * should be 127.0.0.1 for localhost.
timeout
Socket timeout in milliseconds, default is 100ms.

Example Flowgraph

In this example, a Message Strobe block sends the string "Demo" once per second.

PUB SUB msg demo.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO