Running older USRP scripts with GNURadio 3.60

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

On Tue, Oct 16, 2012 at 6:34 PM, Tom H. [email protected]
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