Thank you! this was the information I was looking for and according to my tests, using these methods works well.
Maximilian Matthe Head of Engineering Lab maximilian.mat...@barkhauseninstitut.org Tel.: +49 173 4509667 ________________________________ From: Brian Padalino <bpadal...@gmail.com> Sent: Friday, January 6, 2023 4:38 PM To: Maximilian Matthé <maximilian.mat...@barkhauseninstitut.org> Cc: usrp-users@lists.ettus.com <usrp-users@lists.ettus.com> Subject: Re: [USRP-users] RfNoc Equivalent of get/set_master_clock_rate On Fri, Jan 6, 2023 at 3:20 AM Maximilian Matthé <maximilian.mat...@barkhauseninstitut.org<mailto: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 Barkhausen Institut www.barkhauseninstitut.org Barkhausen Institut gGmbH | Sitz: Würzburger Straße 46, 01187 Dresden, Germany | Registergericht: Amtsgericht Dresden, HRB 37267 | Geschäftsführer: Prof. Dr. Gerhard Fettweis, Dr. Tim Hentschel | Vorsitzende der Gesellschafterdelegation: Dr. Undine Krätzig Hinweise zum Datenschutz und zur Verarbeitung Ihrer Daten finden Sie unter: https://barkhauseninstitut.org/data-privacy This email and any attachments are intended only for the person to whom this email is addressed and may contain confidential and/or privileged information. If you received this email in error, please do not disclose the contents to anyone, but notify the sender by return email and delete this email (and any attachments) from your system. Information on data protection and processing of your personal information: https://barkhauseninstitut.org/data-privacy
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com