discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] python Hier block using callback


From: fanatic
Subject: Re: [Discuss-gnuradio] python Hier block using callback
Date: Mon, 27 Apr 2015 01:02:13 -0700 (MST)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]