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 <sibar...@ucr.edu> 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
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to