Thank you Marcus for the reply. let me show you an example of what I did. but so far i am not getting any output from it
def set_parameters(self,amplitude): global d_amplitude d_amplitude= amplitude print d_amplitude #then on the contructor def_init_(self, amplitude) self.set_parameter(amplitude) analog_sig_source = analog.sig_source_f(sampling_rate, analog.GR_TRI_WAVE, f, d_amplitude, 0) #then connect the block to other blocks -- View this message in context: http://gnuradio.4.n7.nabble.com/python-Hier-block-using-callback-tp53486p53489.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio