[USRP-users] rfnoc, using the settings register bus

Anselm Karl anselmkarl.inbox at googlemail.com
Wed Apr 8 16:42:32 EDT 2015


Thank you both,

I think the uhd_rfnoc_schmidlcox.xml puts the function calls for writting
the registers in the python file generated by GRC. (Didn't test it yet.) So
its very similar to sylvains solution. And its quick. Nice.

Anselm
Am 08.04.2015 18:04 schrieb "Jonathon Pendlum" <jonathon.pendlum at ettus.com>:

> Anselm,
>
> Building on Sylvain's comment, take a look at
> gr-ettus/grc/uhd_rfnoc_schmidlcox.xml in the branch
> jarnold/schmidl-cox as an example (eventually this will be merged into
> master).
>
>
>
> Jonathon
>
> On Wed, Apr 8, 2015 at 5:43 AM, Sylvain Munaut via USRP-users
> <usrp-users at lists.ettus.com> wrote:
> > Hi,
> >
> > The standard python block has a set_register(reg_address, reg_value)
> method.
> >
> > It might be possible to call it from GRC using the 'function probe'
> > block. But when I tested stuff with my block, I just manually edited
> > the .py generated by GRC to add a couple of .set_register call ...
> > It's lost when I regenerate the .py from GRC but for quick tests, it
> > did the trick.
> >
> > Cheers,
> >
> >     Sylvain
> >
> > _______________________________________________
> > USRP-users mailing list
> > USRP-users at lists.ettus.com
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150408/8680e51c/attachment-0002.html>


More information about the USRP-users mailing list