Hello
I would like to share a variable “X” from my python block to any other
block in GNU radio.
How could i do that ?
Thanks
Luis
Hello
I would like to share a variable “X” from my python block to any other
block in GNU radio.
How could i do that ?
Thanks
Luis
Hi Luis,
as I said in my original reply, there’s no direct way to “share”
variables. Maybe you’d want to specify or give an example of what
exactly you want to do.
Best regards,
Marcus
Hi Luis,
I think you might be referring to the concept of GNU Radio Companion’s
variables; since that is a pure python concept, there’s no easy way to
do this in C++ (you’d simply lack the python glue).
Typically, you’d use message passing to asynchronously exchange
information between blocks, or you’d directly call appropriate get/set
methods on the other blocks.
Best regards,
Marcus
PS: GNU Radio has its own mailing list, which I included in CC:; I’d
recommend signing up for it and continuing this discussion there, as it
is pretty unrelated to the USRPs.
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs