Reconfigure FIR coefficients without stopping the sampling process

Hello Everyone,

I have a quick question regarding the reconfiguration of blocks within a
gnuradio “top block” application. I am working on a radar system that
will
occasionally attempt to switch transmission waveforms due to results of
processed data. Consequently, the back end processing will have to
adjust
simultaneously, namely the FIR filter coefficients. Currently, I have a
“top block” application working properly when the radar is operating for
a
fixed waveform. This application is initiated as a parallel process
from a
parent program, and continuously takes data until the parent program is
terminated.

Here is small portion of the code that is of interest:

gr_matchfil = [gr.fir_filter_ccf(1, fr ) , gr.fir_filter_ccf(1, fr )]

for i in range(numchan):
fg.connect((u,i), (gr_decimation[i],0))
fg.connect((gr_decimation[i],0), (gr_matchfil[i],0))
fg.connect((gr_matchfil[i],0), (gr_interleave,i))

fg.connect((gr_interleave,0), (fsink,0))
fg.start()

What I would like to do is alter the the coefficients “fr” in the
variable
“gr_matchfil” from the parent program without stopping the sampling
process.
I figure that this will have to do something with accessing the shared
memory of the parallel process. Would this be possibly after
“fg.start()”
is executed. If anybody has any ideas on how to achieve this, it would
be
greatly appreciated.

Thanks,
Rob


View this message in context:
http://gnuradio.4.n7.nabble.com/Reconfigure-FIR-coefficients-without-stopping-the-sampling-process-tp44013.html
Sent from the GnuRadio mailing list archive at Nabble.com.


Discuss-gnuradio mailing list
removed_email_addr[email protected]
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.

| Privacy Policy | Terms of Service | Remote Ruby Jobs