|
From: | Falessan |
Subject: | Re: [Discuss-gnuradio] Front Panel GPIO on Ettus X310 |
Date: | Tue, 2 Jun 2015 06:42:10 -0700 (MST) |
Hi Martin,
Thanks for the response. It looks like we’ll have to go the C++ route then. Thanks for your assistance.
Best Regards,
Frank
From: Martin Braun-2 [via GnuRadio] [mailto:[hidden email]]
Sent: Monday, June 01, 2015 7:50 PM
To: Falessan
Subject: Re: Front Panel GPIO on Ettus X310
Hey Frank,
multi_usrp is exactly what the GNU Radio blocks use under the hood.
However, multi_usrp is *not* SWIGged -- which means you can't access
multi_usrp from Python. I believe that's what's triggering your error
message. get_device() can only be called on your USRP blocks using C++.
Now, if you *were* to use C++, I'd recommend having a look at the 'gpio'
example in UHD. It shows how to map ATRs to GPIOs, which sounds like
what you're trying to do.
I can see how these GPIO functions would be useful in a swigged fashion,
though, and maybe even available by command tag. We should get them onto
master.
M
On 01.06.2015 14:23, Falessan wrote:
If you reply to this email, your message will be added to the discussion below:
http://gnuradio.4.n7.nabble.com/Front-Panel-GPIO-on-Ettus-X310-tp53979p53983.html
To unsubscribe from Front Panel GPIO on Ettus X310, click here.
NAML
[Prev in Thread] | Current Thread | [Next in Thread] |