FAQ Database Discussion Community


GNU Radio io_signature

c++,gnuradio
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 (<+ITYPE+>)), // input signature gr::io_signature::make(<+OMIN+>, <+OMAX+>, sizeof (<+OTYPE+>))) // output signature { // empty constructor } I don't really...

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

python,gnuradio
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 xyz(gr.sync_block): """ docstring for block add_python...

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

ubuntu,gnuradio
Everybody, I hava a difficulty. When I install GunRadio successfully, , I can't find several hundred example files in /usr/local/share/gnuradio/examples, Which describe in office wiki. I use command line to install this software inUbuntu 14.04LTS sudo apt-get install gnuradio and I can open this software successfully, but I can't find...

float data transmit and receive with tcpip matlab?

matlab,tcp,gnuradio
I am trying to transmit and receive data over TCP/IP (interfacing with GNU Radio): data = rand(1,128); t = tcpip('127.0.0.1',2012,'Timeout', 120); s = whos('data'); set(t,'OutputBufferSize',s.bytes); fopen(t); fwrite(t,data,'double') m=tcpip('127.0.0.1',2022,'Timeout', 120); set(m,'InputBufferSize',s.bytes) fopen(m); fread(m) When I read my data, these are all 0 or 1, I need to get the float data...

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

filtering,gnuradio,software-defined-radio
I am using GnuRadio Companion (GRC) 3.75 and I am trying to use the Frequency Xlating FIR Filter (FXFF) block to perform some filtering. All the tutorials I've seen had this FXFF block take in only 1 input (such as this), which is the complex signal (blue in colour). However,...

Missing line in “Follow UDP Stream” in wireshark

udp,wireshark,gnuradio
I am streaming raw UDP packets (rf data) from GNU Radio to Octave (or any other program). The data consists of 390625 4 byte floats per second. This is 1562500 bytes per second. When GNU Radio streams UDP, there is no header or sequence number in the UDP data, it's...

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

python,gnuradio,software-defined-radio
This is a continuation of this question. I understand that we cannot access input_items in __init__ of a sync_block but we can do so in hier_block (eg. here). I wanted to add a panel on the top block frame which can only be done by assigning a panel to self.win...

gnuradio `ImportError undefined symbol`

python,c++,gnuradio
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, x_vector); d_filter->filter(noutput_items,in_y,out); I run cmake ../ make and it complies perfectly fine, but when i try make test I'll get this error:...

GNU Radio on Community radios

python,audio,radio,gnuradio
I'm trying to set GNU Radio as an audio processor for a little community radio in my town. I've already installed GNU Radio and it's working, but I'm not a sound engineer, so I need some help. This is my installation: MIC & Music Player ----> Mixer ----> GNU Radio...

Add a vertical scrollbar to a wxFrame accross multiple wxPanels

python,wxpython,scrollbar,gnuradio
I want a vertical scrollbar throughout the frame (Top Block). I am able to get vertical scrollbars for the individual panels - Here both the plots are threads plotted by the same class. Here is the code which sets up the top block in gnuradio - class top_block_gui(gr.top_block): def __init__(self,...