User:Duggabe

From GNU Radio
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Understanding ZMQ Blocks

This tutorial is under construction.

This tutorial presents the GNU Radio ZMQ blocks. It is a set of six Source Blocks and six Sink Blocks. The naming convention follows other source and sink blocks in that a source block provides data entering a GNU Radio flowgraph and a sink block sends data out of the flowgraph. It is a flowgraph-oriented perspective.

From the ZeroMQ website: "ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a concurrency framework. It gives you sockets that carry atomic messages across various transports like in-process, inter-process, TCP, and multicast."

Prerequisites

Types of ZMQ Blocks

The two basic groups of ZMQ blocks are those which transport stream data, and those which transport text strings. They are described below.

Data Blocks

Message Blocks

Using ZMQ Blocks

Separate GR flowgraphs on Same Computer

Separate GR flowgraphs on Different Computers

Python Program as Destination of ZMQ Block

Python Program as Source to ZMQ Block