User:Duggabe: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Understanding ZMQ Blocks =
Barry Duggan is a graduate of Georgia Tech in Electrical Engineering and is a career computer programmer specializing in real-time control, data communication systems, and email security. He has been an amateur radio operator since 1953.


<b>This tutorial is under construction.</b>
Barry started working on the GNU Radio project in 2019 and now devotes most of his time doing Wiki documentation, and development of amateur radio applications.


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.
Summary of programming languages used (roughly in chronological order):
* FORTRAN
* assembly languages of various computers
* COBOL
* C
* Pascal
* HTML5
* CSS3
* XML
* JavaScript
* JSON
* node.js
* PHP
* Python


From the [https://zeromq.org/ 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."
== Presentation Links ==


== Prerequisites ==
=== YouTube ===


* [[Guided_Tutorial_GRC|'''Intro to GR usage: GRC and flowgraphs''']]
* GRCon21 Newbie's Guide
* [[Sample_Rate_Tutorial|'''Understanding sample rate''']]
    https://www.youtube.com/watch?v=uxAW-WzuNy0
* GRCon21 gr-control presentation
    https://www.youtube.com/watch?v=eZ53BQLaKpw
* GRCon23 File transfer using Packet and BPSK
    https://www.youtube.com/watch?v=UpiaL1Hr6-s


== Types of ZMQ Blocks ==
=== Vienna Wireless Society ===


The two basic groups of ZMQ blocks are those which transport stream data, and those which transport text strings. They are described below.
* VWS SDR Project  Feb 26, 2025
    https://drive.google.com/file/d/1Qh-nYxMh-1SAeDfAezipXa80Ve4y44Br/view?usp=sharing


ZMQ blocks come in pairs:
* How to build a SSB receiver  Oct. 10, 2025
* PUB - SUB
    https://youtu.be/fCK8T9EeTX8
* PUSH - PULL
* REQ - REP
 
The PUB, PUSH, and REP blocks are always sink blocks; the others are source blocks. Choosing which pair to use depends on your system architecture.
* The PUB - SUB pair can be compared to broadcasting. The PUBlish sink sends out data which can be received by one or many SUBscribers.
* The PUSH - PULL is a point to point link of equal peers.
* REQuest - REPly pair is a point to point link which operates in lock-step: one REQ in gives one REP out. This case changes the perspective somewhat in that the flowgraph is acting as a server for a remote client.
 
=== 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 ===

Latest revision as of 12:08, 14 October 2025

Barry Duggan is a graduate of Georgia Tech in Electrical Engineering and is a career computer programmer specializing in real-time control, data communication systems, and email security. He has been an amateur radio operator since 1953.

Barry started working on the GNU Radio project in 2019 and now devotes most of his time doing Wiki documentation, and development of amateur radio applications.

Summary of programming languages used (roughly in chronological order):

  • FORTRAN
  • assembly languages of various computers
  • COBOL
  • C
  • Pascal
  • HTML5
  • CSS3
  • XML
  • JavaScript
  • JSON
  • node.js
  • PHP
  • Python

Presentation Links

YouTube

  • GRCon21 Newbie's Guide
   https://www.youtube.com/watch?v=uxAW-WzuNy0
  • GRCon21 gr-control presentation
   https://www.youtube.com/watch?v=eZ53BQLaKpw
  • GRCon23 File transfer using Packet and BPSK
   https://www.youtube.com/watch?v=UpiaL1Hr6-s

Vienna Wireless Society

  • VWS SDR Project Feb 26, 2025
   https://drive.google.com/file/d/1Qh-nYxMh-1SAeDfAezipXa80Ve4y44Br/view?usp=sharing
  • How to build a SSB receiver Oct. 10, 2025
   https://youtu.be/fCK8T9EeTX8