Forum: GNU Radio Is there python code to automatically find USRP2 devices

Posted by Alex Zhang (Guest)
on 2012-09-18 00:33
(Received via mailing list)
Hi,

Instead of specifying the device address in instantiating the 
usrp_resouce,
I would like to let my python code to automatically detect the connected
USRP and return the device addresses, just like the UHD_FIND_DEVICES 
does.
After I get all the addresses of the connected USRPs, then the pyhon 
code
can instantiate the instance of USRP_Source.
I am wondering if there are existing code doing such kind of things. If 
no
I will implement by myself.

Best regards,

--

Alex,
*Dreams can come true  just believe.*
Posted by Alex Zhang (Guest)
on 2012-09-18 00:59
(Received via mailing list)
Just found the swig interface for this feature is already provided...

On Mon, Sep 17, 2012 at 5:32 PM, Alex Zhang <cingular.alex@gmail.com> 
wrote:

> Best regards,
>
> --
>
> Alex,
> *Dreams can come true  just believe.*
>
>


--

Alex,
*Dreams can come true  just believe.*
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.