Questions tagged [gnuradio]

GNU Radio is a free software development toolkit that provides the signal processing runtime and processing blocks to implement software radios.

GNU Radio is a free software development toolkit that provides the signal processing runtime and processing blocks to implement software radios using readily-available, low-cost external RF hardware and commodity processors. It is widely used in hobbyist, academic and commercial environments to support wireless communications research as well as to implement real-world radio systems.

Official GNU Radio Logo

GNU Radio applications are primarily written using the Python programming language, while the supplied, performance-critical signal processing path is implemented in C++ using processor floating point extensions where available. Thus, the developer is able to implement real-time, high-throughput radio systems in a simple-to-use, rapid-application-development environment.

While not primarily a simulation tool, GNU Radio does support development of signal processing algorithms using pre-recorded or generated data, avoiding the need for actual RF hardware.

GNU Radio is licensed under the GNU General Public License (GPL) version 3. All of the code is copyright of the Free Software Foundation.

721 questions
1
vote
0 answers

Why do GNU Radio complex blocks (not custom) have different itemsizes?

I am running GNU Radio 3.7.13.4 and working in GNU Radio Companion on Ubuntu 18.04 I have a very simple flowgraph where I have a source of type complex (I've tried both a signal source and a constant source) which I connect to a transcendental block…
nicholas
  • 180
  • 2
  • 9
1
vote
1 answer

Modifying an OOT block in GNU radio

I have an existing and functioning OOT block in GNU radio. I am just trying to add an extra parameter to it to increase the block's flexibility. I have made appropriate modifications in all the .h, .cc files corresponding to the block as well as…
1
vote
1 answer

installing gnuradio 3.8 on ubuntu 18.04

I am installing gnuradio 3.8 on a fresh install of Ubuntu 18.04 LTS. Here is the procedure I used to install gnuradio 3.8: $ sudo apt-get install python-pip python-apt $ sudo -H pip install PyBOMBS $ mkdir pybombs && cd pybombs $ pybombs…
LRYindra
  • 23
  • 1
  • 5
1
vote
1 answer

QA_test for multiple outputs on gnuradio with different types

I have written a gnuradio block with 1 input and 2 outputs. Now I'm writing the qa_test in python. the code below is to test a block with 1 input and 1 output. How can I adapt the code to test two outputs of different types (complex and…
Alex Rosa
  • 49
  • 7
1
vote
1 answer

What block type for condition based output in GNU Radio

I just started working with GNU Radio and have trouble to understand what block type I should use for demodulating data correctly. I'm trying to realize a pulse position-modulation where each symbol has 4 positions for the pulse (4-VPPM). At the…
Massi1987
  • 71
  • 1
  • 5
1
vote
1 answer

How do I read byte output data of GRC block "Random Source" into own OOT-block in c++ correctly?

I'm doing my first steps in gnuradio-companion and want to code my own out-of-three blocks in c++ for signal processing. I worked through the gnuradio tutorial and have some knowledge of c++ but I'm not an expert. Sytem setup: Ubuntu 18.04.2 LTS GNU…
Massi1987
  • 71
  • 1
  • 5
1
vote
1 answer

I got the message: "Bad import syntax:" when I try to import a python function inside my gnuradio flowgraph

I'm trying to do this tutorial on gnuradio page: https://wiki.gnuradio.org/index.php/TutorialPythonFunctions It looks to be simple but I got the message "bad import syntax" when I try to import my function "testpy". Has someone had the same problem…
Alex Rosa
  • 49
  • 7
1
vote
0 answers

Having trouble with Osmocom source in gnuradio

I'm having trouble running a simple flowgraph with an osmocom source and a qt gui sink. If I run the file with a waveform generator instead of the osmocom source, all is well, the plots appear as they should, no problem. When the osmocom source is…
Mark Soric
  • 1,381
  • 2
  • 9
  • 8
1
vote
1 answer

Gnuradio OOT module has no attribute

I'm making a GNURadio OOT module on CentOS 7, and I've successfully gone through the cmake and make steps, imported it into GRC and can place it on the canvas with no errors. But when I run the graph, it throws an error saying Attribute error:…
pianoman102
  • 541
  • 8
  • 22
1
vote
1 answer

Having different output item numbers on different ports gnuradio

I have a block which has two output ports in gnuradio. I need to return a single items to one output port and some specific n output items on another output port. Is this possible or always it returns same number of items on different ports
1
vote
1 answer

Is there a way to rerun top_block via the run() function?

I have setup the python code to transmit a wav file over NBFM and it works great for sending the file once OR if I set the auto-repeat it will continue to send the message. However, I would like to call the top_block.run() function, wait than call…
Ahmad
  • 13
  • 3
1
vote
0 answers

How to install NI USRP 2921 on GNURadio Companion (Ubuntu)?

I am trying to use my USRP 2921 on GNURadio with my computer which uses Ubuntu. I have read that I had to use the block UHD but GRC does not recognise the USRP. When I type "uhd_find_devices" in the terminal, I have the message "No UHD Devices…
Dylan
  • 31
  • 3
1
vote
0 answers

GNURadio On Raspberry Pi 3 Reports: No module named _osmosdr_swig

I am trying to run a GNURadio flow graph that runs fine on my Windows computer but gives me an error on my Raspberry Pi. The error is: No module named _osmosdr_swig For some reason line feeds in my perfectly formatted text in these entry fields get…
PeteC
  • 129
  • 1
  • 11
1
vote
0 answers

Punctured convolutional codes in GNU Radio

I have been able to successfully decode CCSDS punctured convolutional codes in GNU Radio. However, the decoding process has involved some peculiar characteristics that I would like to understand more. First of all, the CCSDS puncture matrices are…
1
vote
1 answer

QPSK Modulator Demodulator using Bladerf on GNURadio

I am working on a project to transmit and receive the binary data by using QPSK modulation and demodulation technique on GNURadio via SDR (BladeRFx40). Here is the sketch of the task to be implemented. The flow graph is simple and workable when the…
Khan
  • 23
  • 1
  • 7