usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

support with rfnoc_rx_to_file.cpp

SK
Snehasish Kar
Sat, Dec 9, 2017 10:11 AM

Hello

I am trying to create an RFNoC OOT block with a custom C++ block controller. I followed the instructions in the Getting Started Guide and used the rfnocmodtool to generate the block and the block controller code.However when I try to get a pointer to the custom block controller using device3::get_block_ctrl(), it is unable to resolve a pointer to my custom controller.  I took reference from rfnoc_nullsource_ce_rx example. Even I see the my custom block in uhd_usrp_probe --tree. Please let me where I am going wrong.

BR

Snehasish

Hello I am trying to create an RFNoC OOT block with a custom C++ block controller. I followed the instructions in the Getting Started Guide and used the rfnocmodtool to generate the block and the block controller code.However when I try to get a pointer to the custom block controller using device3::get_block_ctrl(), it is unable to resolve a pointer to my custom controller. I took reference from rfnoc_nullsource_ce_rx example. Even I see the my custom block in uhd_usrp_probe --tree. Please let me where I am going wrong. BR Snehasish