Is there a possibility I can have a pointer into my C++ coding to access
let’s say gr_uhd_usrp_source or _sink methods and call them from inside
my
class.
How can I do that ?
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++) ?
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.