Just to enhance my (and everyone's) knowledge, does that call give you information substantially different from get_time_now()? Other than you get a UHD Time Spec with seconds and fractional seconds?
Sean -----Original Message----- From: discuss-gnuradio-bounces+sean.nowlan=gtri.gatech....@gnu.org [mailto:discuss-gnuradio-bounces+sean.nowlan=gtri.gatech....@gnu.org] On Behalf Of Josh Blum Sent: Friday, February 17, 2012 12:55 PM To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] How to get time from GPSDO > > and thought usrp->get_mboard_sensor is the function that I need. But I > don't know how to use this function in GNURadio. It seems that the > code is written in C++. So can I use it directly in GNURadio? > > All the functions are brought into python via swig, so: http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/include/gr_uhd_usrp_sink.h#n279 you would do this python: secs = the_usrp_block.get_mboard_sensor("gps_time").to_int() -Josh _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio