[Discuss-gnuradio] DEBUG Logger not logging from within block

2013-11-03 Thread Tommy Tracy
Dear GNU Radio, If I have a: GR_LOG_DEBUG(d_debug_logger, ); in my c++ application, the program will write my string to std out in the following format: DEBUG: when executed, or if I step through with GDB. -- If, however, I have the following line in a GR Block private constructo

[Discuss-gnuradio] Rounding Error between Python and C++ Blackmanharris Window

2013-11-03 Thread Tommy Tracy
Dear GNU Radio, This is most likely a shortcoming of how python handles significant digits, but I wanted to point out that creating a Blackmanharris window in Python and C++ result in different results. In Python: window = fft.blackmanharris(1024) In c++: const std::vector< float > window = gr:

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2013-11-03 Thread Martin Braun (CEL)
On Sun, Nov 03, 2013 at 07:44:37PM +0200, Aydin Tarik Zengin wrote: > Now my question is about how to write python blocks for gnuradio. > Is there a tutorial for that? It's the same you've been quoting before. > What I want to know is how to pass the block parameters to python work method. You c

Re: [Discuss-gnuradio] Why the Qam modulation cannot work well in ofdm benchmark example?

2013-11-03 Thread Aditya Dhananjay
On Sun, Nov 3, 2013 at 5:09 AM, Martin Braun (CEL) wrote: > On Fri, Nov 01, 2013 at 07:23:33PM -0700, Yingjie Chen wrote: > > Recently, I have conducted a project based on ofdm benchmark. However, > when I > > use the high modulation rate like qam16 and qam64, the packet error rate > > increase si

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2013-11-03 Thread Aydin Tarik Zengin
Thanks Martin I'm a newbie for both gnuradio and python. That's why I bother you with simple questions. Now my question is about how to write python blocks for gnuradio. Is there a tutorial for that? What I want to know is how to pass the block parameters to python work method. Thanks Tarik ___

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square3_ff'

2013-11-03 Thread Martin Braun (CEL)
On Sun, Nov 03, 2013 at 03:58:47PM +0200, Aydin Tarik Zengin wrote: > Now I'm able to add running blocks. Good :) > However, if I want to add a block written only in Python - there are no C++ > files -,  I add it with gr_modtool, > > gr_modtool add -t sync -l python square3_ff > > Then it gives

Re: [Discuss-gnuradio] How to get multipe rx_time tags while receiving continuously

2013-11-03 Thread Miklos Maroti
Hi Harry, You never stop the receiver on node B and C, right? You should not observe anything like that if you do not have dropped packets. Are you using USRP2's? Miklos On Sat, Nov 2, 2013 at 3:05 AM, Harry Zhang wrote: > Tom, > Thanks for your reply. > I got a weird problem when using

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square3_ff'

2013-11-03 Thread Aydin Tarik Zengin
Thanks Martin, Now I'm able to add running blocks. However, if I want to add a block written only in Python - there are no C++ files -, I add it with gr_modtool, gr_modtool add -t sync -l python square3_ff Then it gives the following error, You have called ADD_LIBRARY for library gnuradio-howt

Re: [Discuss-gnuradio] undefined reference to `Pa_*

2013-11-03 Thread Sid Boyce
On 03/11/13 08:58, kdag wrote: `Pa_GetDeviceCount' collect2: error: ld returned 1 exit status make[2]: *** [gr-audio/examples/c++/dial_tone] Error 1 make[1]: *** [gr-audio/examples/c++/CMakeFiles/dial_tone.dir/all] Error 2 make: *** [all] Error 2 make  20.86s user 1.

Re: [Discuss-gnuradio] Why the Qam modulation cannot work well in ofdm benchmark example?

2013-11-03 Thread Martin Braun (CEL)
On Fri, Nov 01, 2013 at 07:23:33PM -0700, Yingjie Chen wrote: > Recently, I have conducted a project based on ofdm benchmark. However, when I > use the high modulation rate like qam16 and qam64, the packet error rate > increase significantly. I guess the reason is that the preamble in gunradio is >

Re: [Discuss-gnuradio] undefined reference to `Pa_*

2013-11-03 Thread kdag
> > `Pa_GetDeviceCount' > collect2: error: ld returned 1 exit status > make[2]: *** [gr-audio/examples/c++/dial_tone] Error 1 > make[1]: *** [gr-audio/examples/c++/CMakeFiles/dial_tone.dir/all] Error 2 > make: *** [all] Error 2 > make 20.86s user 1.83s system 94% cpu 23.913 total > Any hints as to