Forum: GNU Radio Running older USRP scripts with GNURadio 3.60

Be22287e9f5ac9ef316dd9586500df76?d=identicon&s=25 Tom Hendrick (Guest)
on 2012-10-17 00:35
(Received via mailing list)
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
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2012-10-17 16:22
(Received via mailing list)
On Tue, Oct 16, 2012 at 6:34 PM, Tom Hendrick <sdtom182@yahoo.com>
wrote:
> 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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.