[Discuss-gnuradio] Re: Dynamically changing parameters of a block

2009-04-21 Thread William Sherman
I also have been having trouble trying to dynamically change the parameter of a block. In this case the amplitude of the sine wave in usrp_siggen.py (gr.sig_source_f). I use the set amplitude function of the top_block to change the amplitude in my main loop. However, observing the spectrum usi

[Discuss-gnuradio] Re: Dynamically changing parameters of a block

2008-09-28 Thread Karthik Vijayraghavan
On Sun, Sep 28, 2008 at 11:22 AM, Richard Jaeger <[EMAIL PROTECTED]> wrote: > Karthik: > > Here are some code segments that I borrowed and put together from > several of the gnu-radio examples. > > #Complex Multiply Block > > self.mc_2 = gr.multiply_const_cc(gain_2) > . > . > > #Gain Control Slider

[Discuss-gnuradio] Re: Dynamically changing parameters of a block

2008-09-28 Thread Richard Jaeger
Karthik: Here are some code segments that I borrowed and put together from several of the gnu-radio examples. #Complex Multiply Block self.mc_2 = gr.multiply_const_cc(gain_2) . . #Gain Control Slider myform['Gain 2'] = \ form.quantized_slider_field(parent=self.panel, sizer=hbox, la