discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Calling usrp_source block function from other blo


From: Anderson, Douglas J.
Subject: Re: [Discuss-gnuradio] Calling usrp_source block function from other block
Date: Wed, 18 Feb 2015 16:31:55 +0000

Thanks Tom, that gives me a good starting point. 

-Doug


From: address@hidden address@hidden on behalf of Tom Rondeau address@hidden
Sent: Tuesday, February 17, 2015 1:47 PM
To: Anderson, Douglas J.
Cc: GNURadio Discussion List
Subject: Re: [Discuss-gnuradio] Calling usrp_source block function from other block

On Tue, Feb 17, 2015 at 11:52 AM, Anderson, Douglas J. <address@hidden> wrote:
Hi all,

I'm looking for the best way to retune the USRP from another block in a running flowgraph. I've seen the tune callback method used by bin_statistics_f, but I was wondering if there are other ways to do it. I took a look at message passing (http://gnuradio.org/doc/doxygen/page_msg_passing.html), but I'm not sure how to bind usrp_source's set_center_freq to handle a freq passed by message, etc.

Are there any examples of doing this laying around or is bin_statistics_f's tune callback still the best way to do it?

-Doug

Hi Doug,

Take a look at the UHD page:


The existing command message interface to the UHD block's already allows you to set the frequency with a message. This manual page will tell you how to format that message properly.

Tom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]