Hi Theo,

for some USRPs, UHD used to export GPS strings as *sensors*:

https://files.ettus.com/manual/page_usrp_x4xx.html#x4xx_usage_sensors

You can make calls on the UHD USRP Source block to query these sensors:

https://www.gnuradio.org/doc/doxygen/classgr_1_1uhd_1_1usrp__block.html#a249fddbb3710046963c5a13fa5f47c2f

both from C++ and Python.

There's currently no graphical way to sensibly do such a thing, but with the "Python Snippet" block, it's not hard.

I must admit I haven't tried that, but if I remember correctly, the X4xx architecture is such that the MPM daemon running on the X400 itself serves these sensor requests, and sends the data it requests from the gpsd running on the X4xx in response to these over the network to your local machine.

> In the "UHD: USRP Source" block there is no possibility to do that ( I guess, because the x410 is the only one with GPS module?) .

Nah, it's just that requesting non-sample data from a device really fits badly into GNU Radio paradigms and hence, we don't have a good way of exposing it. Most (all that you can currently buy) USRP families can be or are equipped with GPS receivers!


Best,
Marcus

On 25.07.23 14:37, theow...@web.de wrote:
Hello everybody,
I am working with a USRP x410, which includes a Jackson Labs LTE-Lite GPS 
module.
I have a GPS antenna at the antenna port.
My goal is, that gnuradio prints the gps location. Sadly, I only found little information on how to use the GPS antenna port of the USRP x410. In the "UHD: USRP Source" block there is no possibility to do that ( I guess, because the x410 is the only one with GPS module?) . I am relatively unexperienced with gnuradio, and I would appreciate anything that could help. Even if someone knows how to use the GPS module from the terminal (so without gnuradio) would already be a great help.
Thank you very much,
Theo

Reply via email to