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

Is it possible to listen to a port on my own computer?

I am using GNU Radio to send out UDP packets to port 12345 using the Socket PDU block with UDP Server. I know it is possible to listen to a port using NetCat provided it is a incoming transmission but since this is coming from my own computer, how…
0
votes
0 answers

Save C-level stream print to file in Python 2.7

I am trying to save the terminal output of a python script to a file and print the output to the terminal. Using the logging script below I was able to successfully save the python output, but my script calls GNU Radio as a class and this output is…
gvega
  • 11
  • 4
0
votes
0 answers

Error while recording audio signal using WAV sink block in GNU radio

I am tring to get the audio file in wav format of a received FM signal grc used to receiver and record FM signal. But I am not able to read the file using python code. import soundfile as sf data, fs =…
MSR
  • 77
  • 1
  • 3
  • 14
0
votes
1 answer

gnuradio-companion.py under WIndows 8.1 just flashes the Python screen

I just installed gnuradio-companion (for about the 10th time). When I try to run it by clicking on gnuradio-companion.py in the bin folder all I get is a python screen with a blast of text that closes before I can see what it says. When I first…
PeteC
  • 129
  • 1
  • 11
0
votes
1 answer

How to convert Message to Float in Gnuradio

I have a cpp block that asynchronously produces a message containing a float value. How can I plot or show this value using available Qt GUI blocks. As QT Gui Number Sink and Time Sink require input of type float whereas my block gives output of…
0
votes
0 answers

gnuradio OOT module xml file has parsing errors

I followed the wiki https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python#3.2.1._Using_gr_modtool to generate a OOT module and install it. No issues with this step. However, I am facing an issue while running gnuradio-companion. I…
pradeepmcp
  • 182
  • 1
  • 9
0
votes
1 answer

Problem with using numpy.float32 value in if clause

I have a simple test application for GNUradio where I try top convert a input in range -180...180 to range 0...360. I've written python code and QA code for that, but cannot seem to get the if-else statements to work properly. The problem seems to…
rongard
  • 89
  • 7
0
votes
1 answer

Embedded Python Block - Get value from work

How can I get a value calculated in def work(self, input_items, output_items) and use it in a getter method? Until now, I defined a self.value but it does not change. I attached a capture containing my code.how to pass a to getA?
0
votes
1 answer

What is the correct MTU setting for the gnuradio UDP Source block for a payload size less than the default 1472?

The gnuradio UDP Source block has a default Payload Size of 1472. The documentation indicates "payload_size : UDP payload size by default set to 1472 = (1500 MTU - (8 byte UDP header) - (20 byte IP header))" My C client program sends packets of 16…
willydlw
  • 1
  • 1
0
votes
2 answers

set number of elements for python block in gnu radio

I am having a Stream to Vector block which gives me 10 complex elements for another embedded block. How can I set the input type and length for my ambedded block to merge the size? I have already tried the official suggested method: in_sig =…
0
votes
0 answers

Does GNU radio Stick has an inbuilt High pass filter in hardware level or is it implemented while designing the blocks?

Im trying to transmit analog message signals which are of 10hz frequency through fm modulation. The tests message signal was a simple sine wave. I am using rtl_sdr and gnu radio companion to receive this transmitted signals and demodulate it. i am…
shashi
  • 1
  • 1
0
votes
1 answer

gnuradio c++ connect self() throw bad_weak_ptr

I want to invoke some code in my constructor connect(self() , 0 , filter , 0); connect(filter , 0 , self() , 0); But I get exception Terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' I do…
0
votes
0 answers

Recoding data into files N samples each with GNU Radio

I'm recording data with USRP X310 using GNU Radio. I need to record and process data for days (possibly weeks) non-stop at a very high sampling rate, so I cannot store all the data on HDD, I need to process it on a fly. I want to cut continuous…
SDNick
  • 1
  • 1
0
votes
1 answer

Output Items Size GNU Radio Block

I am trying to write a custom GNU Radio block in Python. I have an array of bytes which I am trying to output so it can be written to the file via the file sink block. When I simply set the output_items to be the data I want to be…
jsttn
  • 1,495
  • 3
  • 16
  • 21
0
votes
1 answer

making gnuradio work with Pycharm

I have successfully installed gnuradio on my windows machine and try to integrate the python environment that comes with it (Python 2.7) with PyCharm v2018. I create a new project and add a user-defined path for packages to point where all the…
EP1
  • 41
  • 1
  • 9