UHD read_gpio() help

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()-help-tp34375576p34375576.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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

Cheers,
Ben

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs