Did you add strend to your blocks public/exported-to-python API by adding it to the include/strend_ff.h ?
Best regards, Marcus On 08.02.2016 20:11, Sagar Karmur Narasimha Reddy wrote: > > Hi All, > > I am trying to use two static variables in the work function of > the OOT module I developed one n_samples to keep track of nth sample > where sample power is > -30 dB another static varibale n_start to keep > track of 1st sample where the power is > -30dB. If i try to use these > static variables inside work function of the OOT module I developed it > complies fine. However, if I run my GRC module it throws an error saying > > Attribute error: 'module' object has no attribute strend. > > I need these static variables to differentiate b/w noise and received > signal in USRP. > > Please, let me know to how to use static variables inside a work > function of a OOT module or any pointer where i can study about using > static variables in OOT module. PFA .cc .h and CMakeLists file of my > OOT module. > > > > Best Regards, > Sagar > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio