discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] UHD read_gpio() help


From: Ben Hilburn
Subject: Re: [Discuss-gnuradio] UHD read_gpio() help
Date: Fri, 7 Sep 2012 16:40:16 -0700

The make function is what creates your USRP object. You cannot execute functions on your USRP without constructing the object.

Cheers,
Ben

On Fri, Aug 31, 2012 at 1:38 PM, sibar002 <address@hidden> wrote:

Hello,

I am trying call the read_gpio() function from the dboard_iface class in a
c++ program that I have written. I have studied the .cpp files located in
the host/examples directory in order to accomplish this. In these examples,
they call uhd::usrp::multi_usrp::sptr usrp =
uhd::usrp::multi_usrp::make(args), and I am able to use the read_gpio() by
using get_rx_dboard_iface(). I was wondering if anyone could give me any
advise on how I can call read_gpio() without having to use make(args) in
multi_usrp. I would greatly appreciate any help that anyone could give me.
Thank you.
--
View this message in context: http://old.nabble.com/UHD-read_gpio%28%29-help-tp34375576p34375576.html
Sent from the GnuRadio mailing list archive at Nabble.com.


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]