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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio