Re: [Discuss-gnuradio] Problems on writing QA code for source block

2019-05-24 Thread Bowen Hu
Hi Marcus, Thank you for your advice, it is really helpful!! I successfully made Vflicker.v as a source block in GNU Radio, and it passed the python QA code with the help of *head* block you suggested. I actually tried two different ways to build the Vflicker.v source block. Surprisingly, from

Re: [Discuss-gnuradio] Problems on writing QA code for source block

2019-05-24 Thread Marcus Müller
Hi Bowen, yeah! Community bonding :) And progress!! So, the trick with GNU Radio is that you can think of blocks being "called" by the scheduling algorithm. That always happens when there's new input to process (doesn't apply to sources), and there's enough output space to write results to, *as l

[Discuss-gnuradio] Problems on writing QA code for source block

2019-05-23 Thread Bowen Hu
Hi all, I am having trouble writing QA code in python for C++ **source** blocks. Unlike the **sync** block demonstrated in the tutorial (https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B), which s