Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python: Improve access to device_addr_t | Martin Braun | 2020-11-23 | 1 | -0/+5 |
| | | | | | | | | This makes two changes: - Add device_addr_t as a type that the Python property tree access can handle - Add a to_dict() call to device_addr_t (in Python) that will return a regular dictionary from a device_addr_t for a more Pythonic access. | ||||
* | python: Add access to the property_tree from Python | Martin Braun | 2020-10-16 | 1 | -0/+61 |
Example: >>> usrp = uhd.usrp.multi_usrp("") >>> tree = usrp.get_tree() >>> print(tree.access_int("/name").get()) |