Hi Mikio,Thank you for your answer. I was aware of that command for timekeeper objects, but unfortunately I think I need also "set_command_time()" in order to properly control the external switch.
Best Regards, Alessandro Il 02/02/24 01:42, Mikio Fukushima ha scritto:
Hi get_time_now method under RFNOC is here. graph.get_mb_controller().get_timekeeper(0).get_time_now() https://files.ettus.com/manual/classuhd_1_1rfnoc_1_1mb__controller.html https://files.ettus.com/manual/classuhd_1_1rfnoc_1_1mb__controller_1_1timekeeper.html#a3bd4ea851c401baf467169b50cc1719d I have no experience with GPIO control. Thank you. 2024年2月1日(木) 4:08 <a.lap...@ifac.cnr.it>: Hi everyone, I have almost done developing a customized FPGA block for the x410 in the RFNOC framework and an associated PC application based on the Python RFNOC API. I have still to add a control for an external switch and I would like to use the card's GPIO, but I have no specific experience on this. The external switch is required to toggle among 6 states on a known scheduled basis, where the time periods between transitions are relatively long (from tens to hundreds milliseconds). The amount of actuation delay is not an issue, but the toggling signal should be synchronous with the processing (the delay of the piloting signal should vary at most some milliseconds). Watching Martin Braun's presentation <https://www.youtube.com/watch?v=ppD06ZETnek&t=1420s>, I thought that "timed toggles" could be a solution. Nevertheless, I cannot find the methods "set_command_time()" and "get_time_now()" in RFNOC API objects such as RfnocGraph or RadioControl. I am working with UHD 4.3. 1) Are those methods or similar one available somewhere in the Python RFNOC API? If not, is there a plan B? 2) Generally speaking, do you think my approach is good or you would suggest a better way to do it in RFNOC? Thank you in advance, Alessandro _______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com -- ================================== 福島 幹雄 (Mikio Fukushima) 株式会社ドルフィンシステム (Dolphin System Co.,Ltd) 〒170-0014 東京都豊島区池袋1-8-5 ミントロンビル5F Mail: mi...@dolphinsystem.jp URL : http://www.dolphinsystem.jp/ TEL/FAX : 03-6658-4949 ================================== _______________________________________________ USRP-users mailing list --usrp-users@lists.ettus.com To unsubscribe send an email tousrp-users-le...@lists.ettus.com
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com