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
2
votes
1 answer

Where is the PSK block for gnuradio in c++ headers?

Background: I have a project which must be written entirely in c++ (i.e. not using python--this probably seems like a silly requirement but it is out of my control). My thought is that I will use the gnuradio companion to help me figure out the…
sinnetw
  • 33
  • 5
2
votes
2 answers

GNU Radio general_work() function

I have trouble with using general_work function for a block which takes a vector as an input and outputs a message. The block is a kind of demodulator. In fact it is working great if I send some data after and after (periodically). But I need to…
2
votes
1 answer

How to implement a 4 quadrant atan2 function in gnuradio

I have recently begun experimenting with SDR and have been using the GNU Radio platform. More specifically the 'gnuradio-companion' graphical interface. I have a need to determine a 4 quadrant arcTangent function and have run into some trouble. …
2
votes
3 answers

GNU Radio audio underrun on FM Radio Capture, using the hackrf compatible rad1o badge from CCC

I'm being unable to finish the 1st lesson of http://greatscottgadgets.com/sdr/1/ successfully. The example runs, but instead of being able to capture the tuned radio station, I only get noise. GNU Radio companion keeps printing audio underrun…
David Dias
  • 1,792
  • 3
  • 16
  • 28
2
votes
1 answer

Manage multiple signal speed in a Gnu-Radio flow graph

I am currently working on Z-Wave protocol. With my HackRF One and scapy-radio I try to sniff the communications between two devices. However devices can transmit at different speeds : 9,6 kbps 40 kbps 100 kbps As I can only decode communications…
2
votes
0 answers

Underlying C/C++ object has been deleted terminate called after throwing an instance of 'Swig::DirectorMethodException'

I am editing the top block for qt in GNURadio. When I generate a qt file, inside the top block I want to add a pyqtgraph GraphicsWindow which is created by my Plot.py block and is returned. Here is the generated top_block.py : class…
2
votes
1 answer

GNU Radio io_signature

I'm getting into GNU Radio and after I created a new block, in the main class I have a peace of code like this : square_ff_impl::square_ff_impl() : gr::block("square_ff", gr::io_signature::make(<+IMIN+>, <+IMAX+>, sizeof…
Kruncho
  • 195
  • 1
  • 13
2
votes
1 answer

How is noutput_items determined in GNU Radio?

I'm looking at the source code for GrOsmoSdr's rtl_tcp_source_f.cc, which is a GNU Radio source which reads interleaved I/Q data from TCP. The work function looks like this: int rtl_tcp_source_f::work (int noutput_items, …
Anthony
  • 12,177
  • 9
  • 69
  • 105
2
votes
2 answers

How do I edit GNU Radio's file sink output?

I recorded a signal with GNU Radio using a file sink block which outputs a raw binary file that can be analyzed or used as a source of input into GNU Radio. I want to edit this raw file so that when I use it as a source inside GNU Radio it transmits…
vane
  • 2,125
  • 1
  • 21
  • 40
2
votes
1 answer

voltage pulse from USRP when using simple GNU Radio flowgraph from Python

This is a follow-up to my earlier question: FFT in non-flowgraph centered application different from flowgraph centered apps like uhd_fft In an attempt to better clarify the issue, I've boiled my code down to about ~30 LOC and have removed as much…
djanderson
  • 563
  • 4
  • 13
2
votes
1 answer

Converting uint8_t buffer to complex float buffer in C++

I am reading in a buffer of IQ data from a Software Defined Radio which I want to demodulate. The data I am receiving is a buffer of 8 bit unsigned int's. I need to convert this to buffer to type complex float for demodulation of the signal (I plan…
jprince14
  • 191
  • 2
  • 13
2
votes
1 answer

NRZ (de)coding with GNURadio

I'm receiving a digital signal that I would like to decode. Is there a simple way (avoiding to program by myself) to get the bit stream from a NRZ square-signal using GNU Radio ? Thanks !
n0n0bstan
  • 1,790
  • 4
  • 15
  • 26
2
votes
2 answers

.bin to .cfile flowgraph for GRC 3.7.2.1

I have tried opening the flow graph for coverting .bin file (data captured via RTL-SDR) to .cfile for analysis. I downloaded the file from the link http://sdr.osmocom.org/trac/attachment/wiki/rtl-sd... However, I am unable to get it working on GRC…
user3819787
  • 21
  • 1
  • 2
2
votes
1 answer

GNU Radio & Python script: "shmget (2): No space left on device"

I currently have the following error when running a Python script with gnuradio 3.7 blocks: > gr::vmcircbuf_sysv_shm: shmget (2): No space left on device > gr::vmcircbuf_sysv_shm: shmget (2): No space left on device > gr::vmcircbuf_sysv_shm: shmget…
chris
  • 131
  • 1
  • 2
  • 11
2
votes
5 answers

cmake for GNU Radio tutorial

I was trying to follow a tutorial on building the signal processing block on the gnuradio website: http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules. However, when it comes to the step where it requires me to use CMake, the…
Pupusa
  • 167
  • 1
  • 3
  • 14