Re: [Discuss-gnuradio] Problem loading Python block

2013-01-28 Thread Nemanja Savic
I installed new version of gr_modtool script and it won't work. The error is following: [savi_ne@ts-070046nl gr-test]$ gr_modtool.py add -N rx_tx_message -t hier -l python Using Python 2.7 possibly buggy. Ahem. Please send all complaints to /dev/null. Operating in directory . GNU Radio module

[Discuss-gnuradio] adding block using gr_modtool

2013-01-28 Thread Mohammed Ramadan
it's my first time to use gr_modtool to creat Block i read the tutoral and make the steps and made module named howto. and now want to install the module and i write gr_modtool add asked me about the code type, block name, adding python QA , and C++ QA code , then give me the following Must

[Discuss-gnuradio] looking for PM demodulator

2013-01-28 Thread adream
Hello, I am learning the technology of PM demodulation, so I want to read the PM demodulator's souce code, but I don't know how to find these file in the gunradio's source code. can anyone tell me which files do these work? thank you ___ Discuss-gnuradio

Re: [Discuss-gnuradio] looking for PM demodulator

2013-01-28 Thread mleech
On 28 Jan 2013 08:44, adream wrote: Hello, I am learning the technology of PM demodulation, so I want to read the PM demodulator's souce code, but I don't know how to find these file in the gunradio's source code. can anyone tell me which files do these work? thank you The quadrature

Re: [Discuss-gnuradio] Uninstalling Gnu Radio (Build script installed)

2013-01-28 Thread Sajjad Safdar
Hello, I tried to uninstall as you directed but i got this error at the end -- ## -- # Gnuradio disabled components    -- ## --   * sphinx --   * gr-comedi --   * gr-shd --

Re: [Discuss-gnuradio] Uninstalling Gnu Radio (Build script installed)

2013-01-28 Thread Mike Jameson
Hi, From the first result in google: https://www.google.co.uk/search?q=install_manifest.txt ...'install_manifest.txt' is created when gnuradio is installed. Therefore run the following and cross your fingers! :) make sudo make install sudo make uninstall Mike M0MIK On 28 January 2013

Re: [Discuss-gnuradio] Problem loading Python block

2013-01-28 Thread Nemanja Savic
Since I don't know why gr_modtool doesn't work for me, I took the older working version and made very simple hier block in order to understand messages flow in gnuradio. The block code is following: from gnuradio import gr class msg_proba(gr.hier_block2): def __init__(self, ):

Re: [Discuss-gnuradio] Problem loading Python block

2013-01-28 Thread Martin Braun (CEL)
- Try the latest gr_modtool from github - What you're doing seems weird--why are you connecting message blocks? These are meant as a hackish solution to access samples from outside the flow graph. Perhaps you want the new PDU to stream blocks? MB On Mon, Jan 28, 2013 at 04:42:04PM +0100,

Re: [Discuss-gnuradio] adding block using gr_modtool

2013-01-28 Thread Martin Braun (CEL)
Hi Mohammed, grab the newest modtool from github, that should do the trick. MB On Mon, Jan 28, 2013 at 01:55:47AM -0800, Mohammed Ramadan wrote: it's my first time to use gr_modtool to creat Block i read the tutoral and make the steps and made module named howto. and now want to install the

[Discuss-gnuradio] Uninstalling custom made modules

2013-01-28 Thread Ghulam Rasool Begh
Hi all,I have created and installed a module gr-howto using gr_modtool. Since I had created it on a trial basis. How can I remove it.I used sudo make uninstall in the build subdirectory of the module it uninstalled various files and at the end it showed Built target uninstallWhen I check

Re: [Discuss-gnuradio] Uninstalling custom made modules

2013-01-28 Thread Mike Jameson
Hi, Run the following command to remove them: rm -r apps build cmake CMakeLists.txt docs grc include lib python swig Mike M0MIK On 28 January 2013 16:09, Ghulam Rasool Begh grbegh...@yahoo.com wrote: Hi all, I have created and installed a module gr-howto using gr_modtool. Since I had

[Discuss-gnuradio] Non-deterministic behavior

2013-01-28 Thread Vanessa Gardellin
Dear all, we are experiencing an undesired random behavior when we run an offline OFDM flow graph. Specifically, we store a transmitted sequence of packets in a *.dat file (file_sink) and then we run the receiver chain using always the same file as source (file_source). Repeating several times

Re: [Discuss-gnuradio] Non-deterministic behavior

2013-01-28 Thread Mike Jameson
Hi, Make sure you are using a 'throttle' block. Have a look at the following: http://gnuradio.org/redmine/projects/gnuradio/wiki/Simulations Mike M0MIK On 28 January 2013 16:40, Vanessa Gardellin vanessa.gardel...@iit.cnr.itwrote: Dear all, we are experiencing an undesired random behavior

Re: [Discuss-gnuradio] GNU Radio release 3.6.3 available for download

2013-01-28 Thread Michael Dickens
A quick BTW for Mac OS X users trying to install GNU Radio via use MacPorts -- a lesson learned from the off-list discussion between Ed and I: If installation of GNU Radio (not a dependency) fails, then before you do anything else, do sudo port clean gnuradio gnuradio-devel gnuradio-next and

[Discuss-gnuradio] questions about calibration examples in UHD utility

2013-01-28 Thread gang li
Hi, guys, I am reading the codes for uhd_cal_rx_iq_balance.cpp. When doing calibration by setting the RX and TX antenna as CAL, is the signal from TX directly switched to RX? And I noticed that in the function set_optimum_defaults(), the tx_gain is 0 but the rx_gain is 25! Is that too high? I

Re: [Discuss-gnuradio] Problem loading Python block

2013-01-28 Thread Nemanja Savic
Hi all, In my first post from today, where I reported error in gr_modtool, I was using script downloaded from github this morning (just to clarifu how old scriot I used). Basically I am trying to make my own packet deframer block, and they are more or less designed like that. This block was

Re: [Discuss-gnuradio] [USRP-users] questions about calibration examples in UHD utility

2013-01-28 Thread Mike Jameson
Hi, Calibration uses full duplex and should only be done without anything plugged into the 'tx/rx' or 'rx2' ports. There is no direct connection, just measurement of the residual rf escaping. Mike M0MIK On 28 Jan 2013 20:17, gang li blant@gmail.com wrote: Hi, guys, I am reading the codes

Re: [Discuss-gnuradio] looking for PM demodulator

2013-01-28 Thread Marcus D. Leech
On 01/28/2013 07:08 PM, adream wrote: Thank you for your reply There are two quadrature demodulator int gnuraio, gr_quadrature_demod_cf and gr::anlog:quadrature_demod_cf, so which one can be used to demodulate PM signals Thank you very much. I believe they're the same. The

[Discuss-gnuradio] DARPA spectrum challenge teams?

2013-01-28 Thread Tom Rondeau
Hello! We're close to the deadline for teams to sign up for the spectrum challenge (http://dtsn.darpa.mil/spectrumchallenge/Register.aspx). I haven't heard much from the crowd here. Is anyone planning on participating? Tom ___ Discuss-gnuradio mailing

[Discuss-gnuradio] Consuming block of data in python block

2013-01-28 Thread maiconkist
Hi list, I'm trying to implement my first GNURadio block in python. I followed the how_to_square_ff tutorial. In that block, each input generates an output. Now what I want is to change this behavior so that the how_to_square_ff receives a block of data (512 for example) and output only a

Re: [Discuss-gnuradio] looking for PM demodulator

2013-01-28 Thread Johnathan Corgan
On Mon, Jan 28, 2013 at 4:16 PM, Marcus D. Leech mle...@ripnet.com wrote: I believe they're the same. The gr::analog:quadrature_demod_cf is part of the newer naming scheme that is emerging. If you use the one corresponding to gr::analog::quadrature_demod_cf, then your code won't need to

[Discuss-gnuradio] frequency drift of WBX

2013-01-28 Thread Gong Zhang
Hi, I wanna know the frequency drift of WBX daughterboard.I think it may depend on the stability of WBX oscillator.How can I calculate it? Thank you. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org

Re: [Discuss-gnuradio] DARPA spectrum challenge teams?

2013-01-28 Thread Ben Reynwar
I'll be part of the University of Arizona team and am also curious who else is participating. On Mon, Jan 28, 2013 at 6:10 PM, Tom Rondeau t...@trondeau.com wrote: Hello! We're close to the deadline for teams to sign up for the spectrum challenge

Re: [Discuss-gnuradio] Consuming block of data in python block

2013-01-28 Thread Sreeraj Rajendran
As Josh explained in [1] input can be anything that you can represent as a numpy data type. Try using something like gr.block.__init__(self, name=my block,   in_sig=[numpy.dtype((numpy.float32,2))],   out_sig=[numpy.float32]) Also go through fixed/arbitrary