Re: [Discuss-gnuradio] Change value of a Variable defined in the flowgraph from a block

2017-07-01 Thread Sinta Novtafiani
Hi Christian, Use command port in USRP source to control center frequency. I've build a frequency sweeper that can change center frequency automatically using message strobe and python block that connected to USRP command port. This page may helpfull for your problem http://gnuradio.4.n7.nabble.c

[Discuss-gnuradio] GRC GUI parameters for custom blocks

2017-07-01 Thread Vipin Sharma
Hi, I have a custom block, say CustomBlock, which takes two arguments, arg0 and arg1. My intention is to have these arguments be configured through gui after the custom block is instantiated. I define entries for these arguments in the xml file for the CustomBlock which allows GRC gui to let m

Re: [Discuss-gnuradio] Change value of a Variable defined in the flowgraph from a block

2017-07-01 Thread Marcus Müller
Hi Cristian, So, that's an architectural problem: These variables are really just that: Python variables in the generated python program. Setting things when that variable changes works, because if your block defined a element in the GRC XML, then that method will be called whenever you change t