On 2021-08-19 6:33 p.m., [email protected] wrote:

Is there any documentation on the Python API? The only thing I could find about it is that I should reference the C++ API. I’m trying to get data from the gps board. There appears to be C++ functions for this (e.g. usrp->get_mboard_sensor("gps_locked",0) ), but I can’t seem to find the same functions in python using tab completion in the interpreter console.


_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
I can confirm that on Ubuntu 20.04, using the packaged versions of uhd, uhd-host, libuhd, and python3-uhd

I can query sensors through python:

import uhd

usrp = uhd.usrp.MultiUSRP("type=b200")
for s in usrp.get_mboard_sensor_names():
    print (str(usrp.get_mboard_sensor(s)))



_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to