[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Replacing USRP package with UHD package
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] Replacing USRP package with UHD package |
Date: |
Sat, 16 Mar 2013 10:27:15 -0400 |
On Sat, Mar 16, 2013 at 4:53 AM, Songsong Gee <address@hidden> wrote:
> I have a python code that uses usrp package from gnuradio
> However, as GNUradio gets updated, usrp package is deprecated and uhd
> package is recommended.
>
> Thus, is there any way to modifying the code to use uhd package instead of
> usrp package?
> Is it okay to just replace 'from gnuradio import usrp' with 'from gnuradio
> import uhd' ?
>
> FYI, my code use both RX and TX
Yes, pretty much. There are a few changes but the interface is largely
the same. Mostly the UHD interface has added capabilities, but that
means you shouldn't have too much trouble going from libusrp to
libuhd.
Tom