Menu
  • HOME
  • TAGS

Plot freezing because of fast input stream to a GNU Radio block

python,matplotlib,wxpython,gnuradio

To cite another answer I gave: This will quickly also get a multithreading problem. To be clear: What you're trying to do (call a plotting function from a block thread) is problematic and usually won't work. The problem is that you're working in a complex multithreading environment: each GNU Radio...

float data transmit and receive with tcpip matlab?

matlab,tcp,gnuradio

I can't replicate your issue with all zeros or ones, but I think that you need to use one of the additional input arguments to icinterface/fread. Here's a simple example: data = rand(128, 1); echotcpip('on', 2012); t = tcpip('127.0.0.1', 2012, 'Timeout', 120); bytes_per_double = 8; set(t, 'InputBufferSize', bytes_per_double*numel(data), ... 'OutputBufferSize',...

gnuradio `ImportError undefined symbol`

python,c++,gnuradio

This often happens when you have declared a method at the header file, but you do not implement it. For example a destructor or something else. To find out which method it is you should demangle the undefined symbol _ZN2gr6filter6kernel14fft_filter_cccC1EiRKSt6vectorISt7complexIfESaIS5_EEi. This can be done using the c++filt tool. For example,...

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

gnuradio,usrp,software-defined-radio

The behavior above is caused by the auto_dc_offset feature of the USRP. The hardware has an inherent DC bias for both I and Q. gr-uhd provides the function set_auto_dc_offset, which is on by default and enables some kind of averaging function to bring I and Q offset to 0. Here...

What should I supply to the “freq” input for Frequency Xlating FIR Filter for GnuRadio Companion?

filtering,gnuradio,software-defined-radio

freq is a message queue that allows you to change the center frequency of the filter. You should create a pmt pair containing (intern("freq"), double(frequency) where frequency is the new frequency in Hz. When the new frequency is applied the block will produce a new tag to inform downstream items...

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

python,gnuradio

The __init__ function is called only once to "initialize" the new instance of the class. It has nothing to do with moving data through the flowgraph, besides setting up input and output types so that the block can be successfully connected. So, in top_block, you might have: proc = xyz()...

Create a custom block with no input or output ports

python,gnuradio

GNU Radio's Block Coding Guide defines Block as - A functional processing unit with inputs and outputs As you said what you want here is something like a widget. For that just adding an xml to gnuradio/grc/blocks.. and a creating a corresponding .py to implement the functionality you want should...

Gnuradio,OOT: correcting send() for tagged stream block?

c++,gnuradio,usrp

For completeness: This has been asked yesterday on the GNU Radio mailing list; Sanjoy has already gotten two responses: Martin Braun wrote: Sorry, Sanjoy, we'll need some more information before we can give you better feedback. It's not clear exactly what you're trying to achieve, and what exactly is failing....

Add a vertical scrollbar to a wxFrame accross multiple wxPanels

python,wxpython,scrollbar,gnuradio

You can use either of the following ways to do so: Method 1: You can use wx.ScrolledWindow Example code: import wx import wx.lib.scrolledpanel class GUI(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, wx.ID_ANY, "Test app v1.0", style = wx.DEFAULT_FRAME_STYLE ) self.Center() self.CreateStatusBar() mainSizer = wx.BoxSizer(wx.VERTICAL) self.scroll = wx.ScrolledWindow(self, -1) self.scroll.SetScrollbars(1, 1, 600, 400)...

After I install GnuRadio successfully, I can't find several hundred example files in /usr/local/share/gnuradio/examples

ubuntu,gnuradio

Distributions differ on where they install stuff: The Ubuntu package repository definitely lists these examples as contents of the gnuradio package: /usr/share/gnuradio/examples/analog/fmtest.py /usr/share/gnuradio/examples/atsc/README /usr/share/gnuradio/examples/atsc/atsc_rx.py /usr/share/gnuradio/examples/audio/audio_copy.py /usr/share/gnuradio/examples/audio/audio_fft.py /usr/share/gnuradio/examples/audio/audio_play.py /usr/share/gnuradio/examples/audio/audio_to_file.py /usr/share/gnuradio/examples/audio/cvsd_sweep.grc...

GNU Radio on Community radios

python,audio,radio,gnuradio

Since the aim is to improve sound quality in our little community radio, the right way to achieve it is to use an audio processor software, as @KevinReid said. For the records, one possible solution is use this schema with Jack: MIC & Music Player ----> Mixer ----> PC with...

How exactly is hier_block 's behaviour different then that of a sync_block in GNU Radio?

python,gnuradio,software-defined-radio

How exactly is hier_block 's behaviour different then that of a sync_block in GNU Radio? You should read the guided tutorials of GNU Radio where this is all explained very neatly. The content of your question has nothing to do with your title, so I'm not going to answer...

Missing line in “Follow UDP Stream” in wireshark

udp,wireshark,gnuradio

The blank part is simply used as a barrier to differentiate between 2 UDP packets, solely for your convenience. If you track down that exact data in the normal wireshark window you'll notice that the data before the blank part belongs to a certain UDP packet and that the data...

GNU Radio io_signature

c++,gnuradio

IMIN - minimum number of acceptable input ports IMAX - maximum number of acceptable input ports OMIN - minimum number of acceptable output ports OMAX - maximum number of acceptable output ports The documentation talks about it a bit in the IOSignatures portion of the BlocksCodingGuide: The first two parameters...