Hi liumaolin,
> def work(self, input_items, output_items):
> """example: multiply with constant"""
> for i in range(10) :
You can't do that: you need to make sure you've got at least 10 output items to fill!
> return len(output_items[0])
Here you tell GNU Radio that you produced `len(output_items[0])` items, where in reality
you produced 10, which might (and will) be less or more than `len(output_items[0])`!
Best regards,
Marcus
No comments:
Post a Comment