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

wavfile_sink: Value nan can not be represented in the target integer type

I have a couple of gnuradio apps that communicate across the internet. The flow graphs are rather complex, so I boiled them down to simplest form to re-create an issue I'm seeing. The issue is that, when I invoke the client, it connects to the…
Brad Hein
  • 10,997
  • 12
  • 51
  • 74
1
vote
2 answers

Why has assignment to a gr_complex variable (GNU Radio) stopped working for me?

In the block definition for my custom SDR transceiver hardware I use the following complex variable: gr_complex complexSample; In my code, which has worked successfully for two years before a recent upgrade to the latest gnuradio release, I use the…
1
vote
0 answers

GNU Radio - Export peak power values using HackRF

I start working with GNU Radio and HackRF One SDR for an university project and I'm still a little bit lost. I'm using the HackRF One as a spectrum analyzer, specifically at about 868 MHz, because I'm using an Avalanche Transceiver (ARVA Beacon)…
1
vote
1 answer

using GNURadio in Ubuntu virtual machine: fatal error

I want to try GNURadio on my Ubuntu 16.04 virtual machine. I installed osmosdr and rtl-sdr and I actually tried both sources, but I'm getting this error: Generating: '/home/natalia/Downloads/top_block_NoGUI.py' Executing: /usr/bin/python -u…
Natiya
  • 463
  • 2
  • 9
  • 25
1
vote
2 answers

Using gr::fec::code::cc_encoder class in a hierarchical block

I have implemented a very basic C++ CCSDS convolutional encoder (k = 7,r = 1/2) and it works fine. However, it is very basic and it lacks options such as operational mode (CC_STREAMING, CC_TERMINATED, CC_TAILBITING, CC_TRUNCATED) etc…
1
vote
2 answers

ImportError: No module named _analog_swig

I am having issues getting python to import the _analog_swig gnuradio module in order to run gnuradio code on a Windows 8.1 64bit machine. Some background: I am running Python 2.7.10 (installed in C:\Python27) and have installed the latest gnuradio…
Nils
  • 97
  • 2
  • 12
1
vote
1 answer

GNU Radio: Some custom code in he middle of two blocks in GRC flowgraphs

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
vote
2 answers

floating point arithmetic in gnuradio

I'm trying to understand floating point arithmetic in GNURadio and started looking into their tests. The test generates random float input and random taps, then pass everything to the filter. Later it compares expected output and actual output using…
dernasherbrezon
  • 848
  • 7
  • 16
1
vote
1 answer

osmosdr source on rpi2: No module named _osmosdr_swig

I'm trying to use osmosdr source in gnuradio on a raspberryPi2. With osmosdr from git i get Traceback (most recent call last): File "urmet.py", line 20, in import osmosdr File…
fraschizzato
  • 151
  • 1
  • 1
  • 14
1
vote
0 answers

Re-implementing Muller and Mueller clock recovery with control_loop

I'm currently implementing symbol time recovery blocks. The idea is to be able to choose different TEDs (Gardner, Zero-crossing, Early-Late, Maximum-likelihood etc). In blocks like M&M recovery, the gain parameters of the loop are expressed…
1
vote
1 answer

GNU Radio Message Passing block

gr_modtoolgives some options of block types while creating a new block. The options are as follow: ('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock') I have explored those options but I have not…
1
vote
1 answer

Trying to control a GNUradio flow graph object

Good Day: I am trying to write some python code to control a gnuradio block. To illustrate the issue I encountered, I have created a simple flowgraph consisting of an audio source connected to the sound card. There is a single gnuradio companion…
Ed Coleman
  • 137
  • 1
  • 11
1
vote
1 answer

How to build gnuradio without the documentation (from source)

I'm trying to build gnuradio 3.7.9 on raspberry pi as the version provided by apt-get has some problems. However the classic cmake/make/mke install procedure tries to build the documentation which requires latex to be installed. As don't want to…
Mermoz
  • 14,898
  • 17
  • 60
  • 85
1
vote
1 answer

How can I add third party library to gnuradio block using cmake?

For last two days i'm trying to create new block in gnuradio, but i'm constantly getting error when i try to execute flow graph: AttributeError: 'module' object has no attribute 'test' I think that there is some problem with 3rd party libraries…
Paweł
  • 11
  • 3
1
vote
1 answer

Why doesn't my OOT block appear in the GNU Radio Companion block list?

Context: I'm getting into custom block development with GNU Radio. I've implemented a simple block called trivial_adder_ii with 1 int input and 1 int output which produces values simply multiplied by 2. The point of the exercise is to get a sense of…
Tomislav Nakic-Alfirevic
  • 10,017
  • 5
  • 38
  • 51