Well, I tried to send out a message that was shaped like the callback, but it seems to be getting ignored. The first part was the string "freq", the second part was the frequency. When that didn't work, I added a third part that was the channel (1). I tried dictionaries and tuples, but no luck. Any guesses? --------- Original Message --------- Subject: RE: Re: [USRP-users] Messaging the DDC From: "Jason Matusiak" <ja...@gardettoengineering.com> Date: 10/3/18 2:58 pm To: "Marcus Müller" <marcus.muel...@ettus.com>, usrp-users@lists.ettus.com
Marcus, Looking a little closer, I am a little confused. I can make the change, and that allows the message block to appear in GRC, but I am thinking that I need to uncomment the argument commands that set the DDS value, right? I don't see how it would work otherwise (Though it can be poked in via a variable, so I am not sure why that would work). --------- Original Message --------- Subject: RE: Re: [USRP-users] Messaging the DDC From: "Jason Matusiak" <ja...@gardettoengineering.com> Date: 10/3/18 9:27 am To: "Marcus Müller" <marcus.muel...@ettus.com>, usrp-users@lists.ettus.com Sorry, Marcus, I was out yesterday and then missed these responses. That is great! I'll give it a try today and report back! --------- Original Message --------- Subject: Re: [USRP-users] Messaging the DDC From: "Marcus Müller via USRP-users" <usrp-users@lists.ettus.com> Date: 9/30/18 4:47 pm To: usrp-users@lists.ettus.com Hi Jason, I was about to write code, but then realized: gr-ettus' Block impl already has what you need, the message port "rfnoc", which'll accept messages in the PMT dict format. You can extract the shape of information you need to send in from the <callback> tags in uhd_rfnoc_ddc.xml. I'm attaching what I hope will fix your problem as a patch (use with `git apply` from within gr-ettus). We'll most likely upstream a more general changeset. Best regards, Marcus On Wed, 2018-09-26 at 19:45 -0400, Jason Matusiak via USRP-users wrote: > I have a block that outputs a message with a frequency. I would love > to be able to set the frequency adjustment in the RFNoC DDC, but I > don't see a way to do it it automagically. > > I am guessing that there is no way to do it even though it can be set > from a variable slider easily. Is there an option I am missing? > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com