Martin,

Thanks, I gave it a good try, and ran into some cmake issues where UHD 4.6
was missing a cmake module PYTHON_INSTALL_MODULE(). I tried adding it
myself but cmake isn't my favorite, and updated to UHD 4.8.

Thanks for the clarification,

David



On Tue, Jul 15, 2025 at 1:13 AM Martin Braun <[email protected]> wrote:

> Hey David,
>
> yes, we recommend you use the latest version of `rfnoc-gain` as a
> reference for your Python bindings. Note that gr-ettus is also no longer
> required.
>
> Also note that rfnoc-example was renamed to rfnoc-gain, and we continue to
> provide incremental improvements and bugfixes. Therefore, if you're just
> looking at code as a reference, I recommend looking at the version on
> master branch:
> https://github.com/EttusResearch/uhd/tree/master/host/examples/rfnoc-gain/python
>
> --M
>
> On Tue, Jul 15, 2025 at 12:48 AM David <[email protected]> wrote:
>
>> Hello all,
>>
>> I want to use my C++ RFNoC block controller in python. I am on UHD4.6
>> with Ubuntu 22.04. My goal is being able to use my setters and getters for
>> the block user registers from C++ in python.
>>
>> I see that in the UHD-4.7 release the rfnoc-example module started to
>> include the python bindings for OOT modules. Can I use that as a reference
>> point for UHD-4.6, or is there another method that is preferred?
>>
>> I am not using GNURadio, besides having gr-ettus and GNR installed, and
>> would prefer to stay away from those python libaries if possible.
>>
>> Thanks,
>>
>> David
>>
>> _______________________________________________
>> USRP-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>>
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to