On Fri, Jan 6, 2023 at 3:20 AM Maximilian Matthé <
maximilian.mat...@barkhauseninstitut.org> wrote:

> Hello,
>
> the multi_usrp class has methods get_master_clock_rate,
> set_master_clock_rate and get_master_clock_rate_range, see
>
> https://files.ettus.com/manual/classuhd_1_1usrp_1_1multi__usrp.html#aeefd7580630b2baa4e4c90df3a36d9f0
>
> Is there an equivalent in the RfNoC world, i.e. getting/setting the master
> clock rate with either the graph or a block control from the device? Search
> through the UHD RfNoc documentation did not show up any results.
>

Looking through the multi_usrp_rfnoc.cpp file, here are the calls you're
looking for:


https://github.com/EttusResearch/uhd/blob/dfccfcefe555cb10d1d419e5d7fb9b7d52e43dfe/host/lib/usrp/multi_usrp_rfnoc.cpp#L708

... which operate on a radio_control object:


https://github.com/EttusResearch/uhd/blob/dfccfcefe555cb10d1d419e5d7fb9b7d52e43dfe/host/include/uhd/rfnoc/radio_control.hpp#L45

So you should just be able to ask for the controller block and issue the
calls, I believe.

Brian
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to