Perfect, thanks Martin. That worked great!

 

From: Martin Braun <martin.br...@ettus.com> 
Sent: Tuesday, 18 February 2025 15:26
To: Kevin Williams <kevin.willi...@vastech.co.za>
Cc: usrp-users@lists.ettus.com
Subject: [EXTERNAL]Re: [USRP-users] block control methods in the python api

 

Hi Kevin,

 

you can follow the rfnoc-gain example: 
https://github.com/EttusResearch/uhd/blob/master/host/examples/rfnoc-gain/lib/gain_block_control_python.hpp
 
<https://url.za.m.mimecastprotect.com/s/5PVtC8qANNTYxkVInfDTypO9o?domain=github.com>
 

 

--M

 

On Mon, Feb 17, 2025 at 10:02 AM Kevin Williams <kevin.willi...@vastech.co.za 
<mailto:kevin.willi...@vastech.co.za> > wrote:

Hi Everyone,

I have a few "get()" and "set()" methods in my custom RFNoC block driver.

I'm finding the documentation on using pybind a bit sketchy, and struggling
to get these methods recognized in the python object representing my block.

Is there perhaps an example I can follow somewhere?

Many thanks, Kevin

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com 
<mailto:usrp-users@lists.ettus.com> 
To unsubscribe send an email to usrp-users-le...@lists.ettus.com 
<mailto:usrp-users-le...@lists.ettus.com> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to