Re: [Discuss-gnuradio] Updating variable by passing message

2017-08-12 Thread Marcus Müller
Hi Mohammad, this sounds like a wise architecture, using a message to update settings. To answer your question: > how i can update a variable block value in python code , is that possible at all ? As you noticed, yes, that's possible, because the GUI sliders etc. do that! However, it only works

Re: [Discuss-gnuradio] Updating variable by passing message

2017-08-12 Thread mohammad nejati
Thanks Brian , But how work QT Range slider ? for example if use a range slider for one of taps value in FFT taps for example [0.1,0.001,0.2,My_range_slider_ID,0.2,...] changing value of slider in run time update FFT filter taps without any problem . i need some thins like that but it get value fro

Re: [Discuss-gnuradio] Updating variable by passing message

2017-08-12 Thread Brian
Mohammed, That's good question and I'm working on a project that requires me to do similar but mine is frequency. I believe that once a code is run and your receiver is running that changing a variable is not possible. However I have a workaround, I am using a file as a source which will be ei

[Discuss-gnuradio] Updating variable by passing message

2017-08-12 Thread mohammad nejati
Hi , I want to update taps in "FFT FILTER" block in run time , i have a block that can send this taps as a message every 1 secound . i write an python block witch get this message what i want to do is get this message and update value of a variable block wich is used in FFT FILTER . but i dont know