On 2021-10-05 4:16 a.m., Huang Wei wrote:
Hello group,

I am running USRP in GRC. I would like the USRP to  stop and restart transmission at specific times. so I wrote a function in the top_block class like:
self.stop()
self.wait()
self.usrp.set_start_time(an absolute time)
self.start()
It doesn't work. Also I tried  1) add clear_commnad_time() and set_command_time() before; 2) disconnect(), set_command_time() and connect (); 3) usrp.stop(), usrp start(). All these methods don't make sure USRP will restart at the time I want.
Is there any command that can achieve this purpose?

Thank you very much!

Best regards,
Wei

What times are you setting?  How are you setting the initial time on the device?


_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to