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
3
votes
2 answers

gnuradio `ImportError undefined symbol`

I'm new to GNU Radio and python. I'm trying to write a correlation block, somewhere in my code I use fft filter: gr::filter::kernel::fft_filter_ccc *d_filter; d_filter = new gr::filter::kernel::fft_filter_ccc(1,…
Moe
  • 39
  • 1
  • 9
3
votes
1 answer

How to pipe I/Q data in Linux

I'm starting my project which is simply about reading the I/Q data from SDR Radio software like GNU Radio as an input for my own application. I thought about using the pipe command to do so, but don't really know how to use it in this case. Another…
r.a.m-
  • 499
  • 5
  • 12
3
votes
2 answers

Open a .cfile from rtl_sdr after convert with GNU Radio

I have a binary file (capture.bin) from the rtl_sdr tool. I convert it to a .cfile with this manual http://sdr.osmocom.org/trac/wiki/rtl-sdr#Usingthedata Where can I get the data in this file? The goal is to get a numerical format output from the…
Trolli
  • 157
  • 2
  • 12
3
votes
3 answers

Best way to start, stop and send parameters to separate Python script from C++ application?

I try to explain the situation: I have a QT application written in C++ and QT. This QT application starts a separate console C++ application that runs in the background. These two communicate using perhaps sockets, don't know yet. Console C++…
Spitz
  • 31
  • 2
3
votes
2 answers

GNU Radio history

I have a general work function for which I will use GNU Radio's history functionality. In the block's constructor, I call set_history( m ). I cast the input buffer in the standard way: const float *in = (const float *) input_items[0]; My…
tweaksp
  • 601
  • 5
  • 14
3
votes
1 answer

Alternative to tuntap

I'm trying to transmit TCP/IP over a radio that is connected to my computer (specifically, the USRP). Right now, it's done very simply using Tun/Tap to set up a new network interface. Here's the code: from gnuradio import gr, gru,…
blueintegral
  • 1,253
  • 5
  • 20
  • 31
3
votes
2 answers

How to update after successful build-gnuradio?

After successfully building gnuradio using the build-gnuradio script (Using the build-gnuradio script), is there a way to update and build everything new without starting over? E.g., some way to do all the right git pulls and build/install…
rickhg12hs
  • 10,638
  • 6
  • 24
  • 42
2
votes
1 answer

Creating a buffer using an 'embedded python block'

Im trying to create a program in GNU Radio that will store data from a signal into a Filesink. However, by doing that, most of the data in the filesink will consist of noise. My goal is to only store the main signal and a little bit of the noise…
arrojas
  • 21
  • 2
2
votes
1 answer

AttributeError: module 'Kurtosis' has no attribute 'Kurtosis_c'

I am trying to build a sink block with FFT and Kurtosis capability using gr_modtool. The code itself can be compiled without error. But when I run the flow graph in GRC, it produces following error message. Generating:…
yu_20
  • 29
  • 5
2
votes
1 answer

What commands can be sent on the message port of UHD USRP Sink block?

I have been experimenting with message passing in the Signal Source block in GNU Radio companion. I can see from its source code that we can pass messages to change the frequency, amplitude, offset and phase of the source. For example, the following…
Mobi Zaman
  • 605
  • 1
  • 6
  • 19
2
votes
1 answer

GNU Radio error "This block does not support C++ output"

I wrote a program on GNU Radio companion 3.8.1.0 which works fine when I select the Python language. However, when I select the C ++ output language, I get the error This block does not support C++ output for the blocks WBFM Receive, osmocom…
2
votes
2 answers

GNU Radio + HackRF: RuntimeError: firdes check failed: 0 < fa <= sampling_freq / 2

I just started using GNU Radio, I must say I am quite a noob but I have some background on RF related stuff. Here's the thing: I recorded a file that I now want to repeat through my HackRF and GNU Radio. This is the exact settings for the…
2
votes
1 answer

Specify noutput_items for each output in work function

I want to modify a OOT block to have two outputs, as follow : Current state : int block_impl::general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star…
2
votes
0 answers

Trouble running gr radar using two USRPs in GNU Radio

I'm trying to run gr radar on Ubuntu 18.04 using Gnuradio 3.8.2 and keep getting the following error when using the echotimer block with two USRP N210s: Generating: '/home/user/Documents/tests/test_usrp_echotimer_cc.py' >>> Warning: This flow graph…
2
votes
1 answer

RTL-SDR in GNU Radio 3.9

I'm trying to make the RTL-SDR receive WBFM through GNU Radio (with Ubuntu 20.04), with this flowgraph: GNU Radio flowgraph But when I execute, it gives me this error message: gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0 built-in source types: file…
Foxtrot813
  • 31
  • 8