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
216
votes
14 answers

How do I use installed packages in PyCharm?

In PyCharm, I've added the Python environment /usr/bin/python. However, from gnuradio import gr fails as an undefined reference. However, it works fine in the Python interpreter from the command line. GNURadio works fine with python outside of…
smurff
  • 2,431
  • 3
  • 13
  • 7
124
votes
13 answers

How to correctly set PYTHONPATH for Visual Studio Code

How do I correctly set up the $PYTHONPATH variable for my workspace in VisualStudio Code? Background Information I have installed two versions of GNURadio: GNURadio version 3.7.11 installed by the Linux Mint package manager in…
fleetingbytes
  • 2,512
  • 5
  • 16
  • 27
17
votes
1 answer

FSK demodulation with GNU Radio

I'm trying to demodulate a signal using GNU Radio Companion. The signal is FSK (Frequency-shift keying), with mark and space frequencies at 1200 and 2200 Hz, respectively. The data in the signal text data generated by a device called GeoStamp Audio.…
Evan
  • 1,960
  • 4
  • 26
  • 54
13
votes
1 answer

How to increase the size of the workbench in gnuradio-companion 3.7?

I am working with gnuradio-companion in (End-of-Life) GNU Radio 3.7, working on a bigger project with a lot of blocks for the first time. The space on the workbench is getting scarce. Do you know if it is possible to increase the size of the…
user6145186
11
votes
2 answers

Python PyGILState_{Ensure/Release} causes segfault while returning to C++ from Python code

UPDATE Well, it looks like adding PyEval_InitThreads() before the call to PyGILState_Ensure() does the trick. In my haste to figure things out I incorrectly attributed my "hanging" to PyEval_InitThreads(). However, after reading some Python…
Mr. Shickadance
  • 5,283
  • 9
  • 45
  • 61
9
votes
1 answer

How can I create a Hierarchical block with GNURadio Companion?

I am trying to create a Hierarchical block using the GNURadio Companion GUI. Answers I've found in other posts say to select the blocks you want to incorporate, then go to More -> Create Hier. Then a new screen is supposed to appear. However,…
HoosierPhysics
  • 133
  • 1
  • 8
7
votes
1 answer

Do I have a threading issue here?

I have been experimenting with GNU Radio and came across the tunnel.py program. This program allows you to tunnel IP traffic over a wireless radio link using Linux TUN/TAP devices. For the most part it is working however one part of the code is…
Mr. Shickadance
  • 5,283
  • 9
  • 45
  • 61
7
votes
2 answers

When trying to use my USRP in GNU Radio, I get a " No devices found for ----->" error

When trying to execute a GNU Radio program that uses a USRP, I get an error backtrace, which (in Python) typically ends with: self.u = uhd.usrp_source(device_addr=args, stream_args=uhd.stream_args('fc32')) File…
Marcus Müller
  • 34,677
  • 4
  • 53
  • 94
7
votes
3 answers

can't install wxPython on Anaconda Python

I installed Anaconda Python on my RHEL6 system. In order to run gnuradio I need wxPython. For that reason I did conda install wxpython The problem is when I try to import Wx module in python. Then the following error arises: >>> import wx Traceback…
Nexy_sm
  • 211
  • 2
  • 9
5
votes
2 answers

GNU Radio File Format for the recorded samples

Do you know the format in which GNU Radio ( File Sink in GNU Radio Companion) stores the samples in the Binary File? I need to read these samples in Matlab, but the problem is the file is too big to be read in Matlab. I am writing the program in…
Kiran
  • 8,034
  • 36
  • 110
  • 176
5
votes
8 answers

Handle a blocking function call in Python

I'm working with the Gnuradio framework. I handle flowgraphs I generate to send/receive signals. These flowgraphs initialize and start, but they don't return the control flow to my application: I imported time while time.time() < endtime: #…
wishi
  • 7,188
  • 17
  • 64
  • 103
5
votes
2 answers

GNU Radio OOT module AttributeError: 'module' object has no attribute 'MME_cpp'

I know this question has been asked before, but I don't find a useful solution. The full error is : Executing: "/home/mint/Documents/test_sensor/cycl_test/top_block.py" Using Volk machine: avx_64_mmx_orc Traceback (most recent call last): File…
Betty
  • 65
  • 1
  • 6
5
votes
3 answers

GNU Radio version

How do I find out the version of GNU Radio that I have installed? I would like the use their messaging libraries, but they are available on newer versions of gnuradio only and for some reason I'm getting a compilation error when I try to use the…
jortiz81
  • 539
  • 2
  • 8
  • 20
4
votes
2 answers

fatal error: libusb/libusb.h: No such file or directory librtlsdr install for GNU radio

Trying to install rtl-sdr (through git clone git://git.osmocom.org/rtl-sdr.git) thanks to the instructions here but can't go further than make in the first sequence of instructions: cd rtl-sdr/ mkdir build cd build cmake ../ make At my first try I…
Blupon
  • 959
  • 1
  • 12
  • 16
4
votes
0 answers

GNU Radio: Add some custom code in GRC generated code

I need to apply a math formula (e.g. take a square root) to every sample (of 64 element vector) in the data stream coming out from a GRC signal source block (e.g.Complex to Mag Phase block in the attached GRC flowgraph) using Python code, just…
1
2 3
48 49