Hello all, I tried to add a python block and do the processing, but is not working.
The thing is I need that the exit of my block (a floating type output) becomes a variable, that could be called by other blocks to change parameters of the executing blocks, and I failed to do this with the "Python Block". My questions would be: 1- Is there a sample of a code, where an input becomes a global variable in the Top_Block Code, so it can be called by other blocks? 2- Is there a graphical way (in a flowgraph) for taking an output from a block and making this output as a global variable for other blocks to read it an change their parameters accordingly? Once again thanks for all your help. Kind regards. On Tue, Mar 26, 2019 at 10:02 AM Luis Felipe Albarracin Sanchez < lfasanc...@gmail.com> wrote: > Thank you Martin, > > I will try that and let everybody knows about the result. > > Kind regards. > > On Thu, Mar 21, 2019 at 12:25 PM Martin Braun <martin.br...@ettus.com> > wrote: > >> On Mon, Mar 18, 2019 at 02:44:30PM -0500, Luis Felipe Albarracin Sanchez >> wrote: >> > Hello all, >> > I am trying to make the output of a block a variable for other >> blocks, as >> > explained here: >> > >> https://lists.gnu.org/archive/html/discuss-gnuradio/2012-02/msg00581.html >> > My flowgraph is as follows: >> > Captura de pantalla 2019-03-18 a la(s) 2.38.42 p. m..png >> > The configuration of the block "Variable" is: >> > Captura de pantalla 2019-03-18 a la(s) 2.38.54 p. m..png >> > I was wondering if there are other ways for doing this?....Is there a >> > specific control block that changes an output to a variable?.....is >> there >> > any other way of making an output as a variable?. >> > Once again, thank you for the help. >> >> Usually, the easiest way is to pipe your output into a Python block, and >> then do whatever Pythonic thing you want to do from there. >> >> -- M >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > > -- > Eng. Luis Felipe Albarracin > Msc. Telematics / MBA > PMP > CCNA/CCDA/CCNP/CCDP/CCIP > ITIL v3 Foundation > "Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt" > -- Eng. Luis Felipe Albarracin Msc. Telematics / MBA PMP CCNA/CCDA/CCNP/CCDP/CCIP ITIL v3 Foundation "Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt"
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio