|
From: | Josh Blum |
Subject: | Re: [Discuss-gnuradio] How to get time from GPSDO |
Date: | Fri, 17 Feb 2012 09:55:25 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 |
> > 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
[Prev in Thread] | Current Thread | [Next in Thread] |