[USRP-users] Re: Toggling a panel GPIO at a specific time (via RFNoC or otherwise)

2023-09-21 Thread David Raeman
Hi Rob, Thanks for the pointer, I hadn’t considered trying set_gpio_attr() with a command time. I will experiment with this approach.. My only minor hesitation is that my software also does other interactions with the radio during transmission (specifically, updating registers in other RFNoC bl

[USRP-users] Re: Toggling a panel GPIO at a specific time (via RFNoC or otherwise)

2023-09-21 Thread Rob Kossler via USRP-users
Hi David, It may be the case that this functionality already exists in the radio block such that you don't need a custom block. The function radio_control->set_gpio_attr() respects the command time. Here is a portion of one of my applications that outputs a gpio pulse after a specified delay rela

[USRP-users] Toggling a panel GPIO at a specific time (via RFNoC or otherwise)

2023-09-21 Thread David Raeman
Hello, I'm looking for advice on toggling an E320 GPIO pin at a specific uhd::time_spec_t. My use case is a UHD application that starts a long transmit burst at a known timespec, then later toggles a pin at a time corresponding to the Nth sample being transmitted. The pin controls an external R