I wanted to close this link for others in case they stumble upon this thread (I forgot to do this earlier). The messages were indeed working fine, the problem was that I was tuning to the wrong place, and couldn't see my signal, so I didn't realize it was working. Since it is a CORDIC, if you are off by -2.5MHz (negative 2.5) say, you need to tune positive 2.5MHz to offset the negative spin (and vice-versa). All you need to do is send a dict with freq and the frequency you wantand it will work like a champ. --------- 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