Hi all,

Whenever I want to trigger USRP with at given time with use of a GPSDO
I'm adding something like this at the end of a constructor of a topblock
generated by gnuradio-companion:

        if start_time!="":
            self.start_time_epoch =
time.mktime(time.strptime(start_time,'%d.%m.%Y %H:%M:%S'))
           
self.uhd_usrp_source_0.set_start_time(uhd.time_spec_t(self.start_time_epoch)) 


where start_time is a string parameter containing the time at which the
device should start reception.

The snippet might be useful for others trying to do the same thing.

I want to ask you if there is a way to do better than that and generate
directly in gnuradio-companion a flowgraph that use GPSDO of USRP to
trigger it without having to edit anything manually?

Best Regards,
Piotr Krysik

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to