Hi all,

Re-posting this question 
(https://www.mail-archive.com/usrp-users@lists.ettus.com/msg06892.html). The 
use of set_gpio_attr with rfnoc radio_ctrl_impl throws bad allocation error. I 
am stuck with this problem for some time and its important for the project I am 
working on. Can anyone please point out if I am doing something wrong while 
calling the gpio functionality or is this an issue Ettus is still looking at ? 
( https://www.mail-archive.com/usrp-users@lists.ettus.com/msg06579.html)



  1.  uhd::device3::sptr usrp = uhd::device3::make(args);
  2.  uhd::rfnoc::radio_ctrl::sptr radio_ctrl = 
usrp->get_block_ctrl<uhd::rfnoc::radio_ctrl >(radio_ctrl_id);
  3.  radio_ctrl->set_gpio_attr("FP0", "CTRL", ATR_CONTROL, ATR_MASK);

Thanks,
Pratik


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to