[Discuss-gnuradio] AttributeError: 'gr_msg_queue_sptr'

2013-11-22 Thread Nada ABDELKADER
Hi all, I have gnuradio 3.6.5 on Ubuntu 12.10. I needed to add some priority to some packets and insert them on the head of the message queue. I defined a new function "insert_head" in gr_msg_queue.c and gr_msg_queue.h and build my gnuradio. I got this error when running: File "/usr/

Re: [Discuss-gnuradio] Looking for DSSS demodulator

2013-11-22 Thread bob wole
Great share Achilleas. But I am having problem running it. Quite a few blocks are missing. Please share on what version of GnuRadio was it built against? Did you use custom blocks too? -- Bob > > Outstanding! Thanks for putting in the time to make this happen! > > What version of gnuRadio was i

Re: [Discuss-gnuradio] Looking for DSSS demodulator

2013-11-22 Thread Achilleas Anastasopoulos
Bob, As I mentioned in my email, the only application that currently runs is the timing_test.grc For it to run you need to load the block chopper_correlator.grc and compile it in grc so that it gets to your custom grc directory. Please let me know if you have any issues with this. This applic

[Discuss-gnuradio] Public method in out of tree module

2013-11-22 Thread Dirk Van Bruggen
Hello, I am trying to create a block that has a publicly accessible method and am having trouble accessing the method from within Python. Here is a simple example of my process. First, I boot Gnuradio Live DVD, Ubutnu 12.04, Gnuradio 3.7.2 Second, i create a new module according to: http://gnur

Re: [Discuss-gnuradio] Public method in out of tree module

2013-11-22 Thread Martin Braun (CEL)
On Fri, Nov 22, 2013 at 10:51:22AM -0500, Dirk Van Bruggen wrote: > I've tried following the examples of in tree blocks, but just cannot seem > to be able to access pub() from python. Am I missing an include, or > something? Just to make sure, did you rebuild everything (including SWIG bindings)?

Re: [Discuss-gnuradio] AttributeError: 'gr_msg_queue_sptr'

2013-11-22 Thread Marcus Müller
Hi Nada, that's really hard to tell based on the information you gave. I'm currently on the run, so I can't really look at the 3.6 branch and give definite advice, but: a) make sure there is no special c++-to-python gateway class for the things you're trying to extend b) look into the swig files

Re: [Discuss-gnuradio] Public method in out of tree module

2013-11-22 Thread Johnathan Corgan
On 11/22/2013 07:51 AM, Dirk Van Bruggen wrote: > I've tried following the examples of in tree blocks, but just cannot > seem to be able to access pub() from python. Am I missing an include, > or something? There is an bug in the OOT build system where, after having compiled once, changes to pub

Re: [Discuss-gnuradio] Fix for coverity issues in adaptive filter

2013-11-22 Thread Johnathan Corgan
On 11/18/2013 02:16 PM, Philip Balister wrote: > Following up with Fridays question about the adaptive_filter* files in > gr_filter. > > I couldn't find any real code that used it. So I prepared this patch to > remove the files. This resolves three coverity issues and removes what > looks like de

[Discuss-gnuradio] USRP N200 with GNU v3.7 fails

2013-11-22 Thread nesimi eldarov
Hi People, My system Ubuntu 13.04 GNURADIO 3.7.1.1 USRP N200 I run: cd /usr/local/src sudo wget https://sites.google.com/site/byungchulweb/gnufile/UHD_003.003.000.tar.gz sudo tar xvf UHD_003.003.000.tar.gz cd uhd/host mkdir build cd build cmake

Re: [Discuss-gnuradio] USRP N200 with GNU v3.7 fails

2013-11-22 Thread Marcus Leech
The Ubuntu packages are notoriously out-of-date, and since teh UHD version you pulled has a depend on Gnu Radio 3.6.1, it installed Gnu Radio 3.6.1.   YOu might want to just start over again with pybombs, or build-gnuradio     on Nov 22, 2013, nesimi eldarov wrote: Hi People,My system Ubuntu 13.04

Re: [Discuss-gnuradio] USRP N200 with GNU v3.7 fails

2013-11-22 Thread nesimi eldarov
Thanks Marcus, Should I delete  libgnuradio-uhd3.6.1 3.6.1-1 , and install gnuradio v3.7 again? Пятница, 22 ноября 2013, 18:00 UTC от Marcus Leech : >The Ubuntu packages are notoriously out-of-date, and since teh UHD version you >pulled has a depend on Gnu Radio 3.6.1, it installed Gnu Radio 3

Re: [Discuss-gnuradio] USRP N200 with GNU v3.7 fails

2013-11-22 Thread Marcus Leech
If you run build-gnuradio it will uninstall as much of the installed-from-packages stuff as it can, and leave you with a 3.7.recent Gnu Radio codebase.   on Nov 22, 2013, nesimi eldarov wrote: Thanks Marcus,Should I delete libgnuradio-uhd3.6.1 3.6.1-1, and install gnuradio v3.7 again?Пятница, 22 н

Re: [Discuss-gnuradio] FTW IEEE802.11a/g/p OFDM Frame Encoder

2013-11-22 Thread nesimi eldarov
Hi Bastian, Thanks! Do you think it would be possible to use two USRPs, one for the tranmitter and the second for the receiver? Вторник, 19 ноября 2013, 18:57 +01:00 от Bastian Bloessl : >On 11/19/2013 06:01 PM, nesimi eldarov wrote: >> You tell that is a transceiver, how did you transmit t

Re: [Discuss-gnuradio] FTW IEEE802.11a/g/p OFDM Frame Encoder

2013-11-22 Thread Bastian Bloessl
On 22 Nov 2013, at 20:02, nesimi eldarov wrote: > > Do you think it would be possible to use two USRPs, one for the tranmitter > and the second for the receiver? > Yes, but at least you have to change MAC and IP address in the start script. Maybe enable promisc mode of the TAP device or chan

Re: [Discuss-gnuradio] Looking for DSSS demodulator

2013-11-22 Thread bob wole
Thanks Achilleas for explanation, I'll try with gnuradio 3.7.2 and report back. -- bob On Fri, Nov 22, 2013 at 8:30 PM, Achilleas Anastasopoulos wrote: > Bob, > > As I mentioned in my email, the only application that currently > runs is the > > timing_test.grc > > For it to run you need to lo

[Discuss-gnuradio] Building GNU Radio with a cross compiler

2013-11-22 Thread Philip Balister
I've spent a good aprt of the week cleaning up processes for building GNU Radio for ARM targets using OpenEmbedded (a part of the Yocto Project). First, some instructions for building GNU radio. This approach usses the repo tool to manage the various layers needed to build gnuradio. https://githu

[Discuss-gnuradio] Frequency Translating FIR Filter

2013-11-22 Thread Paul B. Huter
I am trying to view the spectrum from 0-1MHz recorded at 50M. I used a low pass filter to only record 0-30MHz. My frequency translating filter is defined as follows: Decimation: 50 Taps: firdes.low_pass(1, samp_rate, 50, 100) Center Frequency: -50 Sample Rate: samp_rate samp_rate: 50M An

Re: [Discuss-gnuradio] Frequency Translating FIR Filter

2013-11-22 Thread Paul B. Huter
Forgot to mention I am running the filter output to an FFT Sink. Paul B. Huter On Nov 22, 2013 6:14 PM, "Paul B. Huter" wrote: > I am trying to view the spectrum from 0-1MHz recorded at 50M. I used a low > pass filter to only record 0-30MHz. My frequency translating filter is > defined as follow