Hello,

I am using the get/set_gpio_attr() function from uhd::rfnoc::radio_ctrl_impl 
and for the attributes CTRL and DDR I get a std::bad_alloc error. The other 
attributes work fine. Anyone come across this issue, because the given gpio 
example using multi_usrp api works properly for all the attributes. I need to 
use the rfnoc api


uhd::device3::sptr usrp = uhd::device3::make(args);

uhd::rfnoc::radio_ctrl::sptr radio_ctrl = usrp->get_block_ctrl< 
uhd::rfnoc::radio_ctrl >(radio_ctrl_id);

const uint32_t gpio_bits = uint32_t(radio_ctrl->get_gpio_attr("FP0", "CTRL"));


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

Reply via email to