Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2009-05-19 Thread Ling Huang
I got the same problem which Ritesh Maheshwari got. I want to stop top block with transmit_path, and it hang on the tb.wait() just like Ritesh Maheshwari. And i'm sure that it run with gr realtime schedule. And I set the TX amplitude to 2000 or even less. But it still hang on the tb.wait(). I do

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-12-04 Thread Ritesh Maheshwari
It works! Thanks a lot for the suggestion, but I think its enabling real time scheduling that helped :). The Tx amplitude did not make any difference. Now I am checking how many of these packets reach successfully to the receiver. On Fri, Dec 5, 2008 at 12:40 AM, Firas Abbas <[EMAIL PROTECTED]>wr

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-12-04 Thread Firas Abbas
Hi, I have a strange suggestion to you (it worked for me in some time earlier). If it works for you please give us a feedback. the Suggestion: Change TX amplitude from 12000 (as you stated in your email) to 2000 and redo the experiment. Note: To run with real time scheduling, start your p

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-12-04 Thread Ritesh Maheshwari
Hi guys, Thanks a lot for all the help. Continuing where Jing left (we work in the same team) ... My installation is on ubuntu 8.10 using the repositories listed on gnuradio website. I am calling benchmark_tx.py with interpolation of 512 and trying to change it every alternate packet to 256. Othe

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-20 Thread Jing Cao
I figured out a method to set interpolation correctly. Before the interpolation is set, we have to flush out all the data from the transmit path. Now I do it by sleep for a while before I set the interpolation. The best solution is there is a indicator to show whether the transmitting path is empt

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-18 Thread cao jing
# svn info Path: . URL: http://gnuradio.org/svn/gnuradio/trunk Repository Root: http://gnuradio.org/svn Repository UUID: 221aa14e-8319-0410-a670-987f0aec2ac5 Revision: 9986 Node Kind: directory Schedule: normal Last Changed Author: jblum Last Changed Rev: 9986 Last Changed Date: 2008-11-13 14:15:33

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-18 Thread Firas Abbas
Hi, What is your gnuradio code revision ? svn info Regards, Firas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-18 Thread cao jing
I changed my code in benchmark_tx.py as follow. But the program blocked at the tb.wait(). tb.start() // this is the first time tb.stop() tb.wait() // block here self.u.set_inter_rate(xxx) tb.start() On Tue, Nov 18, 2008 at 11:14 AM, Firas A. <[EMAIL PROTECTED]> wrote: > > Hi, > > If tb is your to

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-18 Thread Firas A.
Hi, If tb is your topblock, you can try the following : tb.stop() tb.wait() self.u.set_inter_rate(xxx) tb.start() Don't forget to give us a feed back. Best Regards, Firas -- View this message in context: http://www.nabble.com/how-to-change-the-channel-width-when-data-is-transmitting-tp2

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-17 Thread cao jing
Yes, I tried Eric suggestion too. It will report some USB error. Jing On Mon, Nov 17, 2008 at 11:29 PM, Firas A. <[EMAIL PROTECTED]> wrote: > > Hi, > > I have not test it yet. But did you followed Eric suggestion in this > thread!. change every (self.u.set_interp_rate(xxx)) with: > > > self.u.sto

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-17 Thread Firas A.
Hi, I have not test it yet. But did you followed Eric suggestion in this thread!. change every (self.u.set_interp_rate(xxx)) with: self.u.stop() self.u.set_interp_rate(xxx) self.u.start() Best regards, Firas -- View this message in context: http://www.nabble.com/how-to-change-the-channel-w

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-17 Thread cao jing
I changed my code to set the interpolation every 10 packets instead of per packet. Now the program doesn't block any more. But now the problem is the transmitter can't transmit the data correctly, that is checked by bechmark_rx.py and usrp_ffy.py Jing On Mon, Nov 17, 2008 at 2:59 PM, cao jing <[

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-17 Thread cao jing
I downloaded your compiled rbf file to /usr/local/share/usrp/rev4. Then try to set the interpolation dynamically. It still doesn't work. My code is as follow. gnuradio/gnuradio-examples/python/digital/transmit_path.py def send_pkt(self, payload='', eof=False): """ Calls the

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-14 Thread Firas A.
Hi, > Matt Ettus wrote : > > > I checked in a fix to the verilog to allow this. However, the released > rbf files haven't been updated yet, so you will need to compile it > yourself. > > Matt I compiled your changes today. The rbf is given on the link below. I will try to test it and give yo

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-13 Thread Matt Ettus
cao jing wrote: Hi, I am working on change the channel width dynamically when data is transmitting. I tried to use set_interp_rate to change the interpolation when data is transmitting, but it caused a program crashed. Does anybody know how to do it correctly? I checked in a fix to the v

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-12 Thread Eric Blossom
On Wed, Nov 12, 2008 at 06:46:18PM -0500, Brian Padalino wrote: > On Wed, Nov 12, 2008 at 6:07 PM, cao jing <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am working on change the channel width dynamically when data is > > transmitting. > > > > I tried to use set_interp_rate to change the interpolat

Re: [Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-12 Thread Brian Padalino
On Wed, Nov 12, 2008 at 6:07 PM, cao jing <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on change the channel width dynamically when data is > transmitting. > > I tried to use set_interp_rate to change the interpolation when data > is transmitting, but it caused a program crashed. Your progra

[Discuss-gnuradio] how to change the channel width when data is transmitting

2008-11-12 Thread cao jing
Hi, I am working on change the channel width dynamically when data is transmitting. I tried to use set_interp_rate to change the interpolation when data is transmitting, but it caused a program crashed. Does anybody know how to do it correctly? Thank you very much! Jing _