In your .xml file, the line:

<make>howto.detect_ff($pfa, $L, $samples)</make>

should be:

<make>howto.howto_detect_ff($pfa, $L, $samples)</make>

Ron

On 04/07/2015 09:38 PM, Abhishek Shukla wrote:
hey,
i have successfully imported "detect_ff" block. but right now I am getting runtime error while running example on grc as follows.
  File "/home/abhishek/top_block.py", line 84, in <module>
    tb = top_block()
  File "/home/abhishek/top_block.py", line 53, in __init__
    self.howto_detect_ff_0 = howto.detect_ff(100, 16, 1500)
AttributeError: 'module' object has no attribute 'detect_ff'

>>> Done
It seems there is some problem with my class name in .cc file, but i am not getting what exactly it is. Please help me out with this. i have attached .cc, .xml file and also screen shot of given example is provided

Any help will be appreciated,
Thanks in advance,
Abhishek


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to