[Discuss-gnuradio] PMT Python Bug

2013-08-06 Thread Johannes Schmitz
When I go to pmt and back to Python with a dict ints are converted to long. Is that on purpose? import pmt a = {'asdf': 34, 'qwer': 3.7} In [26]: pmt.to_python(pmt.to_pmt(a)) Out[26]: {'asdf': 34L, 'qwer': 3.7} ___ Discuss-gnuradio mailing list Disc

Re: [Discuss-gnuradio] PMT Python Bug

2013-08-06 Thread Martin Braun (CEL)
On Tue, Aug 06, 2013 at 04:25:09PM +0200, Johannes Schmitz wrote: > When I go to pmt and back to Python with a dict ints are converted > to long. Is that on purpose? > > import pmt > > a = {'asdf': 34, 'qwer': 3.7} > > In [26]: pmt.to_python(pmt.to_pmt(a)) > Out[26]: {'asdf': 34L, 'qwer': 3.7}

[Discuss-gnuradio] Cannot import gnuradio.extras after reinstall the latest gnuradio

2013-08-06 Thread Alex Zhang
Hi, I reinstalled the entire gnuradio using ./build-gnuradio -m. But when I try to import the gnuradio.extras, errors happened: In [1]: import gnuradio.extras --- ImportError Traceback (most rece

Re: [Discuss-gnuradio] Cannot import gnuradio.extras after reinstall the latest gnuradio

2013-08-06 Thread Alex Zhang
I tried to reinstall the grextras, but: ~/grextras/build$ cmake ../ CMake Error at CMakeLists.txt:34 (include): include could not find load file: GRASTool CMake Error at math/CMakeLists.txt:20 (GRAS_TOOL): Unknown CMake command "GRAS_TOOL". -- Configuring incomplete, errors occurred!

[Discuss-gnuradio] Error in building GRAS

2013-08-06 Thread Alex Zhang
Hello, When run the make, i got error today: /home/alexzh/gras/lib/jit_factory.cpp:88:8: error: ‘llvm’ does not name a type /home/alexzh/gras/lib/jit_factory.cpp:238:6: error: ‘Factory’ has not been declared make[2]: *** [lib/CMakeFiles/gras.dir/jit_factory.cpp.o] Error 1 make[1]: *** [lib/CMakeF

Re: [Discuss-gnuradio] Spectrogram plot on ControlPort

2013-08-06 Thread Nowlan, Sean
>On Thu, Aug 1, 2013 at 4:02 PM, Nowlan, Sean >wrote: >> Does anybody know how to get gr-ctrlport-monitor to do spectrogram >> plots? I set up a ctrlport_probe2_c block with the DISPSPEC >> DisplayType but all I see are Time, PSD, and Constellation plot options in >> gr-ctrlport-monitor. >I

[Discuss-gnuradio] Volk: Am I getting all that's available for ARM?

2013-08-06 Thread Monahan-Mitchell, Tim
Volk only gives me 'generic'. Is there some component available that I can to add to my system to get more out of it? Neon is detected, so I think that is why I see the 'generic_orc' machine listed. The gory details: gnuradio v3.7.0 Ubuntu 13.04 LTS (ARM distribution, ubuntu-core-13.04-core-a

[Discuss-gnuradio] creating block using gr_modtool.py

2013-08-06 Thread dilip thapa
Hi, I am working with gnuradio 3.3.0 and now trying to create new block using gr_modtool.py. I am able to do following : cmake make sudo make install sudo ldconfig after editing header file of bin and lib with .cc file. Then while using newly created block with GRC I got following error de

Re: [Discuss-gnuradio] Volk: Am I getting all that's available for ARM?

2013-08-06 Thread Marcus Müller
Hi Tim, as far as I can tell, there's not much you can do to improve your arithmetic performance "out of the box". However, you already seem to apply some compiler flags; however, as it seems, detection of Neon fails. That points to volk/tmpl/volk_cpu.tmpl.c: has_neon() not being able to detect

Re: [Discuss-gnuradio] Error in building GRAS

2013-08-06 Thread Josh Blum
On 08/06/2013 11:59 AM, Alex Zhang wrote: > Hello, > > When run the make, i got error today: > > /home/alexzh/gras/lib/jit_factory.cpp:88:8: error: ‘llvm’ does not name a > type > /home/alexzh/gras/lib/jit_factory.cpp:238:6: error: ‘Factory’ has not been > declared > make[2]: *** [lib/CMakeFile

Re: [Discuss-gnuradio] creating block using gr_modtool.py

2013-08-06 Thread Marcus Müller
Hi Dilip, 3.3.0 is an old version of gnuradio. The code you posted clearly contains GR 3.7 code structure; so you're using an 3.7 gr_modtool with an 3.3.0 GNU Radio; this can't work. Please use the gr_modtool that comes with your GNU Radio version (there was no official gr_modtool back in the

Re: [Discuss-gnuradio] Cannot import gnuradio.extras after reinstall the latest gnuradio

2013-08-06 Thread Josh Blum
> > ImportError: libgnuradio-extras.so: cannot open shared object file: No such > file or directory > > I run the sudo ldconfig after the whole installation, but the error still > exists. > Btw, do I need to install the GRAS manually? > > If you want grextras installed to support precog or pe

Re: [Discuss-gnuradio] Volk: Am I getting all that's available for ARM?

2013-08-06 Thread Marcus Müller
On 08/07/2013 02:44 AM, Marcus Müller wrote: [1] note: in kernel terms of auxvec.h this stands for AT_HWCAP, see http://lxr.free-electrons.com/source/include/uapi/linux/auxvec.h?a=arm#L24 How Volk handles it looks like AT_HWCAP can only start on a 4-byte-aligned address within auxv; I'm absol

Re: [Discuss-gnuradio] creating block using gr_modtool.py

2013-08-06 Thread dilip thapa
link for detail post: http://stackoverflow.com/questions/18092242/def-init-self-args-kwargs-raise-attributeerrorno-constructor-define Sent from Windows Mail From: dilip thapa Sent: ‎Wednesday‎, ‎August‎ ‎7‎, ‎2013 ‎6‎:‎16‎ ‎AM To: discuss-gnuradio@gnu.org Hi, I am working with gnuradio

Re: [Discuss-gnuradio] question about overruns with simple flowgraph

2013-08-06 Thread Stephen
>> > I tend to use the fractional interpolator--you can get exact rate > matching that way. It doesn't seem that expensive, particularly when I > use it at the > "low speed" part of the graph near the audio subsystem. > I tried that and it worked. But it adds a small amount of hiss. I also tr

Re: [Discuss-gnuradio] question about overruns with simple flowgraph

2013-08-06 Thread Marcus D. Leech
On 08/06/2013 09:07 PM, Stephen wrote: I tend to use the fractional interpolator--you can get exact rate matching that way. It doesn't seem that expensive, particularly when I use it at the "low speed" part of the graph near the audio subsystem. I tried that and it worked. But it adds a sma

Re: [Discuss-gnuradio] Cannot import gnuradio.extras after reinstall the latest gnuradio

2013-08-06 Thread Alex Zhang
Thanks, I have rolled back my gnuradio to v3.6 to support the pre-cog now. On Tue, Aug 6, 2013 at 7:55 PM, Josh Blum wrote: > > > > > ImportError: libgnuradio-extras.so: cannot open shared object file: No > such > > file or directory > > > > I run the sudo ldconfig after the whole installation,