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

How to slow down a file source in GNU Radio?

I'm attempting to unpack bytes from an input file in GNU Radio Companion into a binary bitstream. My problem is that the Unpack K Bits block works at the same sample rate as the file source. So by the time the first bit of byte 1 is clocked out,…
watkipet
  • 959
  • 12
  • 23
0
votes
1 answer

Find unknown frequency with hopping

I'm wondering about a method to find an unknown frequency. I want to intercept the data from my hydro meter, but I don't know the exact frequency. I'm pretty sure it's in the range 902-928 MHz, but my rtlsdr only has a bandwidth of about 2 or 3…
Nick Lang
  • 469
  • 6
  • 16
0
votes
1 answer

Change the number of output items dynamically

Is possible in the work() function of a gr block, to change dynamically the number of the output items leaving the same number of input items? In my case I need 2 cases based on a condition: 1) 4096 IN : 0 OUT 2) 4096 IN : 4096 …
Ivan
  • 11
  • 1
0
votes
1 answer

GNURADIO: tags propagation thru delay (set_history())

when putting together tags and delay, like in the below example, from Guided Tutorials: When delay is 0, then all ok. But, when delay get bigger than 1 (e.g. 10), tags are sometimes missing in output; not propagated. See below, example where 2 are…
aAWnSD
  • 124
  • 10
0
votes
2 answers

Cannot import name uhd in GNU Radio Python

I installed successfully GNU Radio in Ubuntu 14.04. I tested the installing and it returned 100% passed. However, when I run it with python code. It returned the error such as File…
Jame
  • 3,746
  • 6
  • 52
  • 101
0
votes
1 answer

update a variable in GNU Radio over the network

I am using GNU Radio to stream RF data out using a UDP sink. The data is streamed to a controlling program. As part of this process I am frequency shifting (with a multiply block), filtering and down sampling. I would like to change the values of…
benathon
  • 7,455
  • 2
  • 41
  • 70
0
votes
0 answers

Gnu Radio, Radar Toolbox - angle simulator

I have a problem with 'Static Target Simulator' from gr-radar toolbox. Simulation of azimuth (angle) works only for few specific values. Gr-radar is provided with tests for every module (written by author). I ran included in sources test…
ppop
  • 1
  • 1
0
votes
1 answer

gnuradio: how to change the noutput_items dynamically when writing OOT block?

When I make a OOT block in gnuradio class mod(gr.sync_block): """ docstring for block mod """ def __init__(self): gr.sync_block.__init__(self, name="mod", in_sig=[np.byte], out_sig=[np.complex64]) def work(self,…
yun.fu
  • 21
  • 2
  • 5
0
votes
0 answers

GNU Radio - osmocom_fft issue with SDR

After recompiling twice, tried pybomb and install from repo I can't get my SDR working using hackrf. After experiencing some -5 and -1000 errors with the hackrf_info command, I can start grc without errors but it doesn't plot the spectrum. By…
bomba
  • 153
  • 1
  • 2
  • 13
0
votes
2 answers

How can I install a Third-Party Package in Python Canopy?

I am currently attempting to install a third-party package (gnuradio, to be specific) into the Canopy version of Python on an Ubuntu computer. I currently have the entire package stored in my filesystem as a folder with subfolders and python files;…
W. Stine
  • 111
  • 1
  • 1
  • 3
0
votes
1 answer

GNU Radio - BFSK

I have a question about BFSK/M-FSK modulations in GNU Radio but in can be common problem :) If I have a symbol 1 or 0 and it has got 64 samples (2 periods of sin/cos) and I want to modulate it with 2 different frequencies for example: f1 = 175 KHz =…
0
votes
1 answer

GNU Radio: tune_request with python

I am trying to make 2 TX 2 RX (MIMO) config with a USRP X310. I made the flowgraph for 2TX and 2RX config in GRC and generated the python script. I have a question about tune request. In general with a 2 TX 2 RX config with python, there are 4 tune…
0
votes
1 answer

Last packet lost gnuradio

Here is my flow graph: File source > Throttle > Packet encoder > Packed to unpacked > Packet decoder > File sink. No matter what i do, the final 1 or 2 packets (depending upon the number of bytes from file source) don't get written to file sink. The…
Ali Iqbal
  • 87
  • 1
  • 9
0
votes
1 answer

gnuradio add code to file_sink

I want to store data from an USRP1 with a file sink. But I need some more logic, i.e. I don't want to store all the data but only some "events" (changes which exceed some threshold). For that I want to use a sliding window and store only the the…
Tino
  • 1
0
votes
2 answers

Is it possible to access work function's variable in __init__ of a GNU Radio block?

In the following GNU Radio processing block, I can't figure out who/what passes the value of input_items to the work function in the first place. Is it possible to pass that value to the __init__ function instead? I have a file xyz.py : class…
Karup
  • 2,024
  • 3
  • 22
  • 48