Tuning usrp from within gr block?!

Hi,

is it possible to change the frequency/band of the USRP from within
a gr block?

What’s the latency? I’m thinking about (slow) frequency hopping in GSM.

My gr block is started from a python script ‘run.py’. Is it possible to
call a function within run.py from my C++ gr block?

thanks,

steve

steve wrote:

Hi,

is it possible to change the frequency/band of the USRP from within
a gr block?

Is it possible to write a python-only block (without c++)?

If so, your c++ block could feed an output signal “what frequency to
tune” to the python-only block which would tune the USRP.

Chris

On Wed, Mar 21, 2007 at 10:08:50AM +0000, steve wrote:

thanks,
steve

Take a look at gnuradio-examples/usrp/usrp_spectrum_sense.py for one
approach to a similar problem.

Eric

On Wed, Mar 21, 2007 at 10:05:03AM -0700, Chris S. wrote:

If so, your c++ block could feed an output signal “what frequency to
tune” to the python-only block which would tune the USRP.

Chris

Not at this time.

Eric