Re: correlation estimator causing flowgraph to hang: Return Code -15

2020-07-03 Thread Jeff Long
Divide by zero would crash the block, and likely the whole flowgraph unless the error is getting caught somewhere. There's probably a thread hanging around until you manually kill the program, and then the error gets printed. I took a really quick look at uhd_packet_rx and packet_rx and it sure lo

Re: FM Transmission with a vector of bits

2020-07-03 Thread Barry Duggan
Hi Anthony, To answer your questions, here are some references: * https://wiki.gnuradio.org/index.php/Tutorials * https://wiki.gnuradio.org/index.php/Sample_Rate_Tutorial#Sink_hardware_example * https://github.com/duggabe/gr-morse-code-gen 1) Morse Code is an on-off keying method. The vectors

Re: Porting oot modules to gr 3.9 and pybind

2020-07-03 Thread Josh
Try putting an extra None for parent parameter as the last arg in those instantiations. Take a look at the flow graph generation for any of the qt GUI widgets. For some reason pybind doesn’t like the last default param. On Fri, Jul 3, 2020 at 11:14 AM Volker Schroer wrote: > Yes, > __PIC__ is re

Re: FM Transmission with a vector of bits

2020-07-03 Thread Anthony B.
Hello Kevin, Thanks, your link had useful information about the principles to consider with a vector source. Considering the following generic flowgraph : Vector Source > Repeat > Multiply (with a sine wave) > Resampling / Filtering > Output (?) I have seen that most of the variables are related

Re: Porting oot modules to gr 3.9 and pybind

2020-07-03 Thread Volker Schroer
Yes, __PIC__ is required, and ENABLE_PYTHON, too. With hardcoded include directories to add_include in bindtool/core/generator.py I'm able to generate the bindings and build the module. But trying to run the blocks fails with typeError. For instance File "/home/schroer/gnuradiocomponents/g

Re: correlation estimator causing flowgraph to hang: Return Code -15

2020-07-03 Thread Cameron Matson
Thanks for pointing that out Jeff. The way the usrp_packet_rx example works is with a multiply_const block just before the packet_rx (where the corr_est block lives) that by default is multiply by zero. So wouldn't we automatically get that /0? Is divide by zero a common cause for flowgraphs to

Re: ALSAPulseAudio procedure

2020-07-03 Thread Barry Duggan
Cinaed, Just as one has to do with getting a file from Github, you have to click on the 'Raw' button before you copy the file with your text editor. Once you do that, you will have the correct format. For good measure, attached is the grc file. BTW, Ryan gave me the info I needed about the P

Re: ALSAPulseAudio procedure

2020-07-03 Thread Ron Economos
There's nothing wrong with the flow graph Barry posted to pastbin. GNU Radio 3.8 uses YAML instead of XML. Ron On 7/3/20 02:28, Cinaed Simson wrote: Hi Barry - the GRC isn't an image or binary file - it's a text based XML file. Send it as an attachment to your email. If I recall correctly,

Re: Problems with Correlation Estimator in GNURadio

2020-07-03 Thread Shruti Gupta
Hi! I have installed GRC3.8 and was working on BPSK based packet communication using LimeSDR. It doesn't seem o improve things much. All the packets that I receive are rejected due to errors in reception and header parser fails. I think it's the correlation estimation block of the AGC in the

Re: ALSAPulseAudio procedure

2020-07-03 Thread Cinaed Simson
Hi Barry - the GRC isn't an image or binary file - it's a text based XML file. Send it as an attachment to your email. If I recall correctly, uploading a GRC file to pastbin.com and then downloading it destroys the flow graph (the XML formatting) and reduces the GRC flowgraph to a stack of te