Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-16 Thread Andy_Long
Hello, Johnathan, I am wandering whether I should uninstall every gnuradio pack in Ubuntu 9.04 and use source code to install it again? Or I just need to use source code install update for new version? If I need to remove all binary package. How can I check that I have removed the gnuradio bin

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-16 Thread Johnathan Corgan
On Fri, Apr 16, 2010 at 13:56, Andy_Long wrote: > The maxmum records of USRP2 output is five. After that usrp2 collapses. Andy, I did forget to mention to you that the USRP2 specific problem has been fixed in the git master branch since the 3.2.2 release. You'll need to switch from the binary in

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-16 Thread Andy_Long
e: > http://gnuradio.org/redmine/wiki/gnuradio/TutorialsWritePythonApplications > > > > > Best Regards, > > Firas > > > - Original Message >> From: Andy_Long >> To: Discuss-gnuradio@gnu.org >> Sent: Fri, April 16, 2010 11:52:57

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-16 Thread Firas Abbas
11:52:57 AM > Subject: Re: re[Discuss-gnuradio] configuring with usrp2 src present > > Hi Firas, But it shows the same error as before. I am doing tests > like that: def main(): t = > my_top_block() > t.start() > t.wait() t.stop()

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-16 Thread Andy_Long
uss-gnuradio@gnu.org >> Sent: Thu, April 15, 2010 10:50:39 AM >> Subject: Re: re[Discuss-gnuradio] configuring with usrp2 src present >> >> > Hello,Johnathan > > Did I have some misunderstanding about it? I still >> think the problem is from > USRP2 r

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-15 Thread Firas Abbas
uss-gnuradio] configuring with usrp2 src present > > Hello,Johnathan Did I have some misunderstanding about it? I still > think the problem is from USRP2 rather than flow graph. For example, I > made some tests to change the while loop such as: def main(): > t

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-15 Thread Andy_Long
Hello,Johnathan Did I have some misunderstanding about it? I still think the problem is from USRP2 rather than flow graph. For example, I made some tests to change the while loop such as: def main(): t = my_top_block() t.run() print t.c2mag.unmuted(): #show exceed threshold o

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-14 Thread Andy_Long
Hello, Johnathan, Thank you for your reply. What I want to do is collect the samples from the usrp2 and use gr.probe_avg_mag_sqrd_cf to check that if the one channel is free or not. If it is free, wait 3 second and repeat checking the samples again. I think it just the simple example of spectru

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-14 Thread Johnathan Corgan
On Wed, Apr 14, 2010 at 12:27, Andy_Long wrote: > I have faced the same problem. I try to received the limited samples from > USRP2 by using "head"block. It should return a -1 and the flow graph will > stop, am I right? The flowgraph will not only stop, but will end its lifetime. Once run() has

Re: re[Discuss-gnuradio] configuring with usrp2 src present

2010-04-14 Thread Andy_Long
Hello, Johnathan I have faced the same problem. I try to received the limited samples from USRP2 by using "head"block. It should return a -1 and the flow graph will stop, am I right? Then I call myblock.run() again during the while loop for several times. However, after running the loop for mor