Re: [Discuss-gnuradio] adding new blocks to libraries

2007-04-10 Thread Dan Halperin
Dan Halperin wrote: Is there a howto for how to add a new signal processing block to the GNU Radio libraries? Sorry; in case it wasn't clear, I saw and used the how-to-write-a-block code. But actually adding it to libgnuradio-core and getting SWIG to process it was the tricky bit that took me

Re: [Discuss-gnuradio] How to implement a block derived from gr_block

2007-04-10 Thread George Barrinuevo
Eric, Please disregard my last email. I found the problem. The work() has 3 arguments passed in and general_work() has 4 arguments. When I made the corrections, the 'make' worked fine. Thanks, --- George Barrinuevo <[EMAIL PROTECTED]> wrote: > Eric, > > I get make errors when I converted fr

Re: [Discuss-gnuradio] How to implement a block derived from gr_block

2007-04-10 Thread George Barrinuevo
Eric, I get make errors when I converted from gr_sync_block to gr_block. I also used general_work() instead of work(). The error has to do something with virtual and pure in C++. Do you know what is going on or how I can fix it? /usr/local/include/gnuradio/gr_block.h:113: warning: 'virtual int

[Discuss-gnuradio] initializing ports in a vector

2007-04-10 Thread George Nychis
So I'm trying to initialize a vector of ports so that I can use it to check if the incoming port is tx or rx. Should I use a regular vector type, rather than a pmt vector? Because pmt vectors expect a pmt_t as its element type, whereas port definitions are of type mb_port_sptr. - George

Re: [Discuss-gnuradio] RFX2400 Jamming

2007-04-10 Thread Jeremy Chew
Hi, Isn't the DBSRX a receiver? Anyway, do you happen to know how the radiation stopped? Jeremy - Original Message - From: "Chris Stankevitz" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, April 11, 2007 12:37 AM Subject: Re: [Discuss-gnuradio] RFX2400 Jamming Jeremy Chew wrote: Wit

[Discuss-gnuradio] adding new blocks to libraries

2007-04-10 Thread Dan Halperin
Is there a howto for how to add a new signal processing block to the GNU Radio libraries? I made a gr_xor_bb (in src/lib/general) block, and it took me about an hour to figure out all the files I had to modify to get it made (the one I missed was general.i). Anticipating Eric's response, what's th

Re: [Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Tarun Tiwari
On 4/10/07, Brian Padalino <[EMAIL PROTECTED]> wrote: What type of modulation are you using and what is your application? GMSK modulation for Relay channels. Currently I am trying to relay the voice on two hop system. Brian Tarun ___ Discuss-gn

Re: [Discuss-gnuradio] raw frame transmit functionality added to usrp_server

2007-04-10 Thread George Nychis
Eric Blossom wrote: On Tue, Apr 10, 2007 at 06:15:21PM -0400, George Nychis wrote: Eric Blossom wrote: George, I'll take a look at this. However, it would make more sense to write this code in an order that allows us to test it with minimum dependencies and minimum stubbed-out functionali

Re: [Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Brian Padalino
On 4/10/07, Tarun Tiwari <[EMAIL PROTECTED]> wrote: Can you please enlighten me, how to deal with this problem, as this is pretty obvious in a practical system. What type of modulation are you using and what is your application? Brian ___ Discuss-g

Re: [Discuss-gnuradio] raw frame transmit functionality added to usrp_server

2007-04-10 Thread Eric Blossom
On Tue, Apr 10, 2007 at 06:15:21PM -0400, George Nychis wrote: > > > Eric Blossom wrote: > > >George, > > > >I'll take a look at this. However, it would make more sense to write > >this code in an order that allows us to test it with minimum > >dependencies and minimum stubbed-out functionality

Re: [Discuss-gnuradio] raw frame transmit functionality added to usrp_server

2007-04-10 Thread George Nychis
Eric Blossom wrote: George, I'll take a look at this. However, it would make more sense to write this code in an order that allows us to test it with minimum dependencies and minimum stubbed-out functionality. I suggest that you start with cmd-allocate-channel and it's response, followed by

Re: [Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Tarun Tiwari
Hi Brian, Thank you for reply. On 4/10/07, Brian Padalino <[EMAIL PROTECTED]> wrote: The 64MHz oscillator on the board has a maximum 50PPM error. This gives an error of up to 3200Hz. To get to 2.4GHz, that's 37.5x the 64MHz local oscillator. 3200Hz * 37.5 = 120kHz. 2.4e9 - 120e3 = 2

Re: [Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Tarun Tiwari
Hi Chris, Thank you for your reply. On 4/10/07, Chris Stankevitz <[EMAIL PROTECTED]> wrote: In my application (GPS), I don't even know the desired frequency due to the doppler effect on the fast moving satellites. I use an acquisition routine to locate the frequency which uses FFTs in my cus

Re: [Discuss-gnuradio] raw frame transmit functionality added to usrp_server

2007-04-10 Thread Eric Blossom
On Tue, Apr 10, 2007 at 04:20:25PM -0400, George Nychis wrote: > I added functionality for transmitting a raw frame to the usrp server now > also. > > A couple things: > > I am not sure what to initialize 'tag' to in the header, I'm not sure we > have a concrete plan for this field yet? So I s

Re: [Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Brian Padalino
On 4/10/07, Tarun Tiwari <[EMAIL PROTECTED]> wrote: Hi Matt, Eric, and my dear friends, I received third set of USRP for my research work, but the third USRP is not able to lock/demodulate the desired frequency. When i transmit a signal on 2.4GHz from one of the old USRPs I need to lock the new

Re: [Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Chris Stankevitz
Tarun Tiwari wrote: the local oscillators may not be perfect They definitely will note be perfect. But, the question is how do I recover the signal if my receiver clock does not synchronize to the desired frequency? In my application (GPS), I don't even know the desired frequency due to

[Discuss-gnuradio] Frequency error in USRP.

2007-04-10 Thread Tarun Tiwari
Hi Matt, Eric, and my dear friends, I received third set of USRP for my research work, but the third USRP is not able to lock/demodulate the desired frequency. When i transmit a signal on 2.4GHz from one of the old USRPs I need to lock the new USRP at 2.39989 GHz else it does not demodulate the s

[Discuss-gnuradio] raw frame transmit functionality added to usrp_server

2007-04-10 Thread George Nychis
I added functionality for transmitting a raw frame to the usrp server now also. A couple things: I am not sure what to initialize 'tag' to in the header, I'm not sure we have a concrete plan for this field yet? So I set it to 0 for now. I need someone (aka. Eric ;)) to check over how I am ex

Re: [Discuss-gnuradio] Advice on I/Q control using USRP

2007-04-10 Thread Eric Blossom
On Tue, Apr 10, 2007 at 10:22:35AM -0700, Shaiful wrote: > Hi, > > I want to control I/Q signal going through USRP by the > path of DEMOD->RX->FPGA->TX->MOD, quite similar to > what have been done by Jon Jacky in the following > presentation: > > http://www.research.cornell.edu/KIC/events/MRFM200

[Discuss-gnuradio] Advice on I/Q control using USRP

2007-04-10 Thread Shaiful
Hi, I want to control I/Q signal going through USRP by the path of DEMOD->RX->FPGA->TX->MOD, quite similar to what have been done by Jon Jacky in the following presentation: http://www.research.cornell.edu/KIC/events/MRFM2006/pdfs/Jacky%20talk/jacky-talk.html The main different is that I'm going

[Discuss-gnuradio] X-Fest 2007 (Xilinx FPGA Related)

2007-04-10 Thread Brian Padalino
For those who might be interested, AVNet has announced some world-wide seminars that specifically tackle DSP related tasks within FPGAs. The event is free and has a slew of world-wide locations listed. Information can be found here: http://em.avnet.com/xfest07 Brian ___

Re: [Discuss-gnuradio] RFX2400 Jamming

2007-04-10 Thread Chris Stankevitz
Jeremy Chew wrote: With a spectrum analyser, I notice that with just switching on the RFX2400, there is continuous radiation from the radio at frequencies I have set before on the radio. I saw this happen once with my DBSRX at 1.575GHz Chris ___

Re: [Discuss-gnuradio] How to implement a block derived from gr_block

2007-04-10 Thread Eric Blossom
On Tue, Apr 10, 2007 at 12:17:25AM -0700, George Barrinuevo wrote: > I created a block from gr_sync_block and later found > that it does not work properly since gr_sync_* > requires that the input and output rate are > synchronous, e.g. having 1:1, 1:N, N:1 fixed ratio. > However, my block has var

[Discuss-gnuradio] usb time out

2007-04-10 Thread Maksimiuk Darek
Dear all, I just received the USRP hardware. My PC (running SuSe 9.2) supports the USB 2.0 interface. I tried to test the basic configuration (using the test_usrp_standard_rx command) with one RX and one TX and I got the following messages: usb_control_msg failed : error sending control

[Discuss-gnuradio] RFX2400 Jamming

2007-04-10 Thread Jeremy Chew
Hi, I am not sure if others like Syed Shah may be having the same problem, but I notice similar symptoms as he has with my new RFX2400s I got just last month. With a spectrum analyser, I notice that with just switching on the RFX2400, there is continuous radiation from the radio at frequenci

[Discuss-gnuradio] How to implement a block derived from gr_block

2007-04-10 Thread George Barrinuevo
I created a block from gr_sync_block and later found that it does not work properly since gr_sync_* requires that the input and output rate are synchronous, e.g. having 1:1, 1:N, N:1 fixed ratio. However, my block has varying input and output rates which implies I need to derive it from gr_block.