discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Accessing gr_uhd_usrp_source/sink methods


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Accessing gr_uhd_usrp_source/sink methods
Date: Sun, 23 Mar 2014 18:47:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 03/21/2014 03:17 PM, Ruecan wrote:
> By the way I am working with GR 3.6.5, 
> The precise question is as following, If I am instantiating a usrp_sink and
> usrp_source from inside my python script and I want at some point in time
> modify one of its proprieties from inside my C++ custom block, would that
> make sense and work ?
> 
> Or I must in any case declare the uhd_source and uhd_sink AND modify their
> proprieties in the same custom block (Not declare instantiate it Python and
> modify in run time in C++) ?

You can do that, just pass a reference of the UHD block to yours. But
you won't have control of timing with respect to the sample time, e.g.,
you can't retune the frequency for a specific sample.

M




reply via email to

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