Hello, I tried using set_gpio_attr using both multi_usrp and radio_control…
When I use uhd::usrp::multi_usrp, I get an error trying to make a multi_usrp object ``` [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: RuntimeError: Cannot create! Property already exists at: /blocks/0/Radio#0/noc_id ``` I already created an rfnoc graph for my own custom application, so it makes sense I get this error. When the radio block controller, it appears to be unable to find any GPIO banks available after I attempt to list them using radio->get_gpio_banks. I tried using uhd::usrp::dboard_iface::set_gpio_ddr, since all I need to do is change the direction of the GPIO pins, but I get a Segmentation Fault (core dumped) eerror. I did try creating a motherboard controller using uhd::rfnoc:rfnoc_graph::get_mb_controller, then calling get_gpio_banks, and I was able to list out the available GPIO from there. However, it does not appear the direction can be set from the mb_controller, only the source. Thanks Joe
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com