gnuradio

QPSK transmission and reception in GNURadio

白昼怎懂夜的黑 提交于 2019-12-24 18:33:33
问题 I have implemented this: Constellation plot of receiver side is same as that of transmitter but it disappears for some moment and is not continuous, It flickers and keeps on moving around and for a very short moment show a garbage plot also. How to resolve that to get a correct continuous plot? 回答1: Never use a "Throttle" block in a hardware flow graph. What it does is just slow down the processing speed "about roughly" to the requested rate on average. That will sooner or later lead to your

FFT in non-flowgraph centered application different from flowgraph centered apps like uhd_fft

人走茶凉 提交于 2019-12-24 15:04:01
问题 I've written a small GNU Radio program to capture and plot FFT data from the USRP N210. To avoid locking up my GUI (matplotlib and wxpython), I am only running the flowgraph after the GUI reports that it's idle. In order to do that kind of timing, I'm using a non-flowgraph centered approach, introduced in the GNU Radio Tutorial. Essentially, I have a main loop that looks like this (pseudocode): topblock.set_usrp_freq() while True: topblock.run() data = topblock.vector_sink.data() thread-safe

Data not written to filesink in gnuradio

断了今生、忘了曾经 提交于 2019-12-23 17:27:19
问题 Here is my simple flow graph. File Source > Throttle > File Sink It works fine when the repeat value of File Source is on. When i turn off the repeat value of File Source, nothing gets written. what could be the reason for this? 回答1: Buffering of the GNU Radio scheduler between the blocks may be the cause of your problem. Especially, if the sampling rate of the throttle is slow. Furthermore, the file sink block uses the fwrite() function that also performs some buffering to increase the

How to edit the file generated by file sink of GNU Radio?

时光怂恿深爱的人放手 提交于 2019-12-23 03:42:20
问题 I find that the file generated by file sink block is binary format, which can not edit by gedit under linux or something else, So how can i edit the file? I send a dat file contains "hello world" and I want to recieve a file contains "hello world" 回答1: This is asked very often. So here's a link to the FAQ and the excerpt: All files are in pure binary format. Just bits. That’s it. A floating point data stream is saved as 32 bits in the file, one after the other. A complex signal has 32 bits

Retrieve data from USRP N210 device

人盡茶涼 提交于 2019-12-19 12:53:12
问题 The N210 is connected to the RF frontend, which gets configured using the GNU Radio Companion. I can see the signal with the FFT plot; I need the received signal (usrp2 output) as digital numbers.The usrp_sense_spectrum.py output the power and noise_floor as digital numbers as well. I would appreciate any help from your side. 回答1: Answer from the USRP/GNU Radio mailing lists: Dear Abs, you've asked this question on discuss-gnuradio and already got two answers. In case you've missed those, and

GNU Radio: Use sound output as input source

帅比萌擦擦* 提交于 2019-12-19 03:42:24
问题 In gnuradio-companion I'm using the audio source block as my input signal for the next blocks. All works almost fine. The only little problem is that I'm getting the signal from my microphone (this is the normal behavior off course). I would rather like to get the audio signal being played directly without having to go through my speakers, the air from my room and the microphone. All this generates signal losses and adds noise. I know there is the file source block but this isn't a real

GFSK modulation/demodulation with GNU Radio and USRP

杀马特。学长 韩版系。学妹 提交于 2019-12-18 13:59:07
问题 Im currently creating a satellite ground station which will be used to control our cubesat in coming months. The modulation scheme used is GFSK and the baud rate is 9600. I have tried to run some tests by using a USRP board before I could try to communicate with the satellite by directly connecting the tx and rx blocks in the flowgraph.I was able to send and receive a png file using this flowgraph. However, when I connect the tx and rx output to my USRP B210 TX/RX(transmission sink) and RX2

gnuradio `ImportError undefined symbol`

▼魔方 西西 提交于 2019-12-14 01:42:41
问题 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: Traceback (most recent call last): 2: File "/home/mohammad/projects/FD/implementation_tests/oot_modules/gr-full_duplex/python/qa_fd

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

大城市里の小女人 提交于 2019-12-13 04:56:02
问题 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 """ def __init__(self, parent, title, order): gr.sync_block.__init__(self, name="xyz", in_sig=[numpy.float32,numpy.float32], out_sig=None) ................ ................ //I want to access the

play audio file saved in local drive via Python Flask webserver

喜欢而已 提交于 2019-12-13 03:48:39
问题 When I navigate to my local disk and pick the audio .wav (or any other audio type) file and hit submit I don't get the audio output. I was thinking of writing an "if statement" that tells my program when the chosen file is assigned to the variable "filename" then reload program with the assigned file/link. I did some attempts to such if statement but failed due to lack of coding skills. P.S. I mentioned the "if statement" workaround because I assumed that's the solution to my problem,