discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Running older USRP scripts with GNURadio 3.60


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Running older USRP scripts with GNURadio 3.60
Date: Wed, 17 Oct 2012 10:20:50 -0400

On Tue, Oct 16, 2012 at 6:34 PM, Tom Hendrick <address@hidden> wrote:
> Hello,
>
> I have ubuntu 12.04 and GNURadio 3.6.2.  I was trying to run some older
> scripts which uses the USRP.  These scripts were made with GNURadio
> Companion about 3 years ago, and then I added some extra menu options by
> manually editing the python script made by GRC.
>
> Unfortunately when I run the scripts, I get a "can't find USRP" type error.
> I understand in the newer GNURadio installations that USRP is replaced with
> UHD.  Does anyone know of an easy way to run older scripts that call the
> USRP class?  I am not experienced enough to convert all the old scripts.  I
> would likely have to make new ones with the newer GNURadio Companion
> installation and add all the extra menu features again manually.
>
> Thank you,
> Tom

Tom,
Honestly, your best bet is to update the old scripts to use the UHD
interface. It's not a very big switch between the old and new; really,
it's mostly syntactic changes. Also, to be blunt, there is a way to
use the old libusrp drivers, but if you aren't experienced enough to
update to UHD, trying to mix and match the old libusrp with new GNU
Radio is also going to be difficult.

My suggestion would be to go into GRC and create just a simple UHD
program. Just drop down a UHD source and drive it into a GUI sink.
When you build/run this script, you can look at the build Python for
the syntax you need to copy over to your old scripts.

Hope that helps.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]