Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-08-01 Thread Bastien Auneau
Hi Nick We have compiled (in debug mode) the last UHD (3.2.1) Now there are no "unhandled exception" while querying the sensors I guess I made a mistake with release/debug mode earlier Also, I understood that I have to build UHD in debug mode, and that I cannot use the binary version for windows,

Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Nick Foster
On Fri, 2011-07-29 at 01:07 +0200, Bastien Auneau wrote: > uhd::sensor_value_t val = usrp->get_mboard_sensor("ref_locked"); > works fine, no runtime error > > > uhd::sensor_value_t val = usrp->get_mboard_sensor("gps_locked"); > gets runtime error just like gps_time yeah, that's weird, shouldn'

Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Bastien Auneau
uhd::sensor_value_t val = usrp->get_mboard_sensor("ref_locked"); works fine, no runtime error uhd::sensor_value_t val = usrp->get_mboard_sensor("gps_locked"); gets runtime error just like gps_time On 28 July 2011 22:58, Bastien Auneau wrote: > In case previous email with attached screenshot d

Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Bastien Auneau
In case previous email with attached screenshot did not work run-time error Unhandled exception at 0x759ab9bc in TE.exe: Microsoft C++ exception: uhd::runtime_error at memory location 0x0018db9c.. code : uhd::sensor_value_t val = usrp->get_mboard_sensor("gps_time"); std::cout << val.to_pp_

Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Nick Foster
On Thu, 2011-07-28 at 20:13 +0200, Bastien Auneau wrote: > I use : > uhd::sensor_value_t val = usrp->get_mboard_sensor("gps_time"); > std::cout << val.to_pp_string() << std::endl; > > > I got first an unhandled exception runtime error > at second run, it outputs : > GPS time: 2077252342 seconds >

Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Bastien Auneau
I use : uhd::sensor_value_t val = usrp->get_mboard_sensor("gps_time"); std::cout << val.to_pp_string() << std::endl; I got first an unhandled exception runtime error at second run, it outputs : GPS time: 2077252342 seconds and these two in a row at each try Also, the value returned 2077252342 ne

Re: [Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Nick Foster
On Thu, 2011-07-28 at 19:03 +, Bastien Auneau wrote: > Hi All > > I cannot find in latest version (downloaded the 28/07/2011) how to get > UTC time from GPSDO. > > There used to be a get_time() function in gps_ctrl, but not anymore > How should I do to get GPS time ? The mboard_sensors inter

[Discuss-gnuradio] get GPS time from GPSDO module

2011-07-28 Thread Bastien Auneau
Hi All I cannot find in latest version (downloaded the 28/07/2011) how to get UTC time from GPSDO. There used to be a get_time() function in gps_ctrl, but not anymore How should I do to get GPS time ? Regards Bastien ___ Discuss-gnuradio mailing list