Re: [Discuss-gnuradio] ofdm mod error

2015-08-19 Thread Patrcia Wonder
Hi! I think I'm using the latest OFDM blocks. I then tried using the ofdm_loopback.grc and an error occured that is similar to the first one... "Showing: "/home/analog/Documents/ofdm_loopback.grc" Generating: "/home/analog/Documents/ofdm_loopback_example.py" Executing: "/home/analog/Documents

Re: [Discuss-gnuradio] OOT Module Attribute Error module object has no attribute 'blockname'

2015-08-19 Thread West, Nathan
My gut is telling me this is a swig problem. I don't know that it's frowned upon, but it's not easy to read without some kind of highlighting that we'd get from github or a gist with files. If I'm correct we'd also need to see swig/ACK.i (probably missing an include and/or gr swig block magic. comp

Re: [Discuss-gnuradio] Implementing a FIR Filter

2015-08-19 Thread Richard Bell
That fixed the problem. Thank you. Rich On Wed, Aug 19, 2015 at 11:56 AM, Tom Rondeau wrote: > On Wed, Aug 19, 2015 at 2:17 PM, Richard Bell > wrote: > >> I'm having some trouble getting my code to compile. I get the following >> error: >> >> error: ‘kernel’ does not name a type >> ke

Re: [Discuss-gnuradio] Enveloping a transmit amplifier

2015-08-19 Thread devin kelly
I tried this out and I'm having some problems. I'm on GR 3.7.8 and UHD 3.8.5, both the newest as far as I know. What I did was make a flowgraph with a signal generator source and a UHD sink in GRC. It works before I made any modifications. There are a few lines in top_block.py that set the sam

Re: [Discuss-gnuradio] Implementing a FIR Filter

2015-08-19 Thread Richard Bell
I'm having some trouble getting my code to compile. I get the following error: error: ‘kernel’ does not name a type kernel::fir_filter_ccf *d_shape_filter; To my *_impl.h file I added the following: #include private: kernel::fir_filter_ccf *d_shape_filter; To my CMakeLists.txt

Re: [Discuss-gnuradio] new OOT block shows up in list but erases flowgraph when i use it

2015-08-19 Thread Tom Rondeau
On Wed, Aug 19, 2015 at 10:49 AM, ben Gee wrote: > I wrote an out of tree block based on the tutorial and after i compile it, > the block shows up in the list in GRC, but when i drag it into the > flowgraph it erases the whole thing options block and all. > > as a workaround, i've also tried edit

Re: [Discuss-gnuradio] Building GNU Radio with previous Boost version

2015-08-19 Thread David Halls
​Marcus, Nathan, All, Thanks Marcus I have tried building GNU Radio with Boost 1.49 (that required by MATLAB) I've made a little progress, but it's slow going. I got the header files (not included with the MATLAB release) by downloading Boost 1.49, and building it and installing it to a home

Re: [Discuss-gnuradio] Implementing a FIR Filter

2015-08-19 Thread Richard Bell
Thank you Jeff. Those are perfect. Rich On Tue, Aug 18, 2015 at 3:34 PM, Jeff Long wrote: > Rich, > > hilbert_fc.cc and filter_delay_fc both use kernel::fir_filter in a > relatively easy to understand way. > > Jeff > > > On 08/18/2015 04:26 PM, Richard Bell wrote: > >> Hi all, >> >> Would someo

[Discuss-gnuradio] OOT Module Attribute Error module object has no attribute 'blockname'

2015-08-19 Thread Washbourne, Logan
Hello all, I know this question has been asked before, several times, but I didn't find a solution that allowed me to use my OOT blocks without running into the error stated in the subject of this email. I scoured through this webpage( http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeM

[Discuss-gnuradio] new OOT block shows up in list but erases flowgraph when i use it

2015-08-19 Thread ben Gee
I wrote an out of tree block based on the tutorial and after i compile it, the block shows up in the list in GRC, but when i drag it into the flowgraph it erases the whole thing options block and all. as a workaround, i've also tried editing a working OOT block that i have on my machine, but when

Re: [Discuss-gnuradio] GnuRadio: Clock Recovery MM: imu out of bounds

2015-08-19 Thread Tom Rondeau
On Wed, Aug 19, 2015 at 2:51 AM, Michael B wrote: > I have created a flowgraph, based on an example of Michael Ossmann > , > which takes in a signal, and should output bits. > > I need to use the clock recovery MM block, which

Re: [Discuss-gnuradio] Enveloping a transmit amplifier

2015-08-19 Thread devin kelly
Marcus, Thanks for the advice, this seems to do exactly what I'm looking for. My only question is that I've been under the impression that the UHD doesn't yet support GPIO for the B210. I did recently upgrade to 3.8.5 though so maybe things have changed? Devin On Wed, Aug 19, 2015 at 5:43 AM,

Re: [Discuss-gnuradio] Dealing with `divide 0` or `Inf` in GNU Radio C++ code.

2015-08-19 Thread Jeff Long
(That should be "moving averages", not "correlators"). Also, subtracting instead of dividing might do what you want. Jeff On 08/19/2015 07:25 AM, Jeff Long wrote: Jeon, You can add an appropriate constant before the divide and compensate for it afterward. The exact math will depend on the val

Re: [Discuss-gnuradio] Dealing with `divide 0` or `Inf` in GNU Radio C++ code.

2015-08-19 Thread Jeff Long
Jeon, You can add an appropriate constant before the divide and compensate for it afterward. The exact math will depend on the values coming out of the correlators. Jeff On 08/19/2015 06:50 AM, Jeon wrote: Let's think about the following auto/cross correlator: http://i.imgur.com/Fy5hdVj.png

[Discuss-gnuradio] Dealing with `divide 0` or `Inf` in GNU Radio C++ code.

2015-08-19 Thread Jeon
Let's think about the following auto/cross correlator: http://i.imgur.com/Fy5hdVj.png I've placed `divide` because I need to normalize the correlation result. If we place `null source`, or `constant source with value of zero` right before the `pad source`, the simplified form of the correlator bec

Re: [Discuss-gnuradio] Error when running GRC flowchart in No GUI mode

2015-08-19 Thread Miguel Cordero Limón
Thank you so much Ron! I will try with the new version then. Best regards, Miguel Cordero Limón Ingeniero de Proyectos/Project Engineer Área de Aviónica y Sistemas/Avionics and Systems Department Parque Tecnológico y Aeronáutico de Andalucía C/ Wilbur y Orville Wright, 17-19-21 41309 La Rinconad

Re: [Discuss-gnuradio] Error when running GRC flowchart in No GUI mode

2015-08-19 Thread Ron Economos
It's an issue in that particular version of GNU Radio. I see the same thing here. The good news is that the No GUI option works correctly in the latest release (3.7.8). Ron On 08/19/2015 02:55 AM, Miguel Cordero Limón wrote: Hi all, I'm having trouble when trying to run a GRC flowchart wit

[Discuss-gnuradio] Error when running GRC flowchart in No GUI mode

2015-08-19 Thread Miguel Cordero Limón
Hi all, I'm having trouble when trying to run a GRC flowchart with the No GUI option. The thing is that even with the simplest flowchart I get the following error: can only concatenate list (not "str") to list. I've tried all the different configurations in the Options block but I get always th

Re: [Discuss-gnuradio] Enveloping a transmit amplifier

2015-08-19 Thread Marcus Müller
Hi Devin, You wanted to ramp up/down the external PA: Use the GPIO pins, and the ATR registers [1] or timed commands issued over the message bus [2] to change their state Best regards, Marcus [1] http://files.ettus.com/manual/page_gpio_api.html#xgpio_fpanel_atr [2] http://gnuradio.org/doc/doxyge

[Discuss-gnuradio] GnuRadio: Clock Recovery MM: imu out of bounds

2015-08-19 Thread Michael B
I have created a flowgraph, based on an example of Michael Ossmann, which takes in a signal, and should output bits.I need to use the clock recovery MM block, which I do not fully understand yet. However, after reading some blogposts, I am quite sure that I can leave most of the settings defa