Hi Cedric,
There is a known issue with uhd_usrp_probe in UHD 4.0 / RFNoC4 where custom
RFNoC blocks do not report the block name correctly. You can use "auto
gain_blocks = graph->find_blocks<rfnoc::example::gain_block_control>("");"
to get your gain block.
Jonathon
On Thu, Jan 14, 2021 at 6:37 PM Cédric Hannotier via USRP-users <
[email protected]> wrote:
> Dear all,
>
> After following [1] (testing OOT gain block from example code),
> uhd_usrp_probe outputs:
>
> [...]
> [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xb16,
> 0xffff
> [...]
> | | * 0/Block#0
> | | * 0/DDC#0
> [...]
>
> and in C++:
>
> auto gain_blocks =
> graph->find_blocks<rfnoc::example::gain_block_control>("");
>
> is empty, while:
>
> rfnoc::example::gain_block_control::sptr gain_ctrl =
> graph->get_block<rfnoc::example::gain_block_control>("0/Block#0");
>
> failed with:
>
> "Error: LookupError:
> This device does not have a block of type
> rfnoc::example::gain_block_control with ID: 0/Block#0"
>
> Does anyone know what am I missing?
>
> [1]
> https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0#Out-of-tree_Modules
>
> Regards
> --
>
> Cédric Hannotier
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com