[USRP-users] Re: RFNOC Python API for timed GPIO

2024-03-23 Thread Lars Amsel
ipline +49351206931427 | ni.com<https://www.ni.com/> [National Instruments is now NI.] From: a.lap...@ifac.cnr.it Sent: Monday, 18 March 2024 15:48 To: usrp-users@lists.ettus.com Subject: [USRP-users] Re: RFNOC Python API for timed GPIO You don't often get

[USRP-users] Re: RFNOC Python API for timed GPIO

2024-03-18 Thread a . lapini
After spending some time, I arrived at the following conclusions (thanks also to Jonathon Pendlum): a) “set_command_time()” and “clear_command_time()” are available in Python API of UHD 4.6, also for RFNOC interface. b) The non-intuitive part is that, given the following sequence of commands:

[USRP-users] Re: RFNOC Python API for timed GPIO

2024-02-02 Thread a . lapini
Hi Mikio, I read it too. I am not a Python master, but it does not seem to be the case. For instance, the following code ``` import uhd from uhd import rfnoc graph = rfnoc.RfnocGraph("addr={},master_clock_rate={}".format("192.168.10.2", int(5e8))) radio_noc_block = graph.get_block("0/Radio#0"

[USRP-users] Re: RFNOC Python API for timed GPIO

2024-02-02 Thread Mikio Fukushima
Hi Any rfnoc block implements set_command_time() method. I have no experience with this method. https://files.ettus.com/manual/classuhd_1_1rfnoc_1_1node__t.html mikio ___ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email

[USRP-users] Re: RFNOC Python API for timed GPIO

2024-02-02 Thread Alessandro Lapini
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 meth

[USRP-users] Re: RFNOC Python API for timed GPIO

2024-02-01 Thread Mikio Fukushima
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