Hi Karan, how does your test look like? Usually, to test a blocks functionality, you construct a minimal flow graph in the python test script: vector_source->block under test->vector sink fill it with sample data, and let GNU Radio run that flowgraph. Then you have no control on how large your noutput_items is, because this is up to GNU Radio to decide at runtime. Generally, it'd be nice to know which version of GNU Radio you are running etc. If you want to share your code, best way to do this is usually either pasting just the C++ block and the python test to pastebin or gist.github.com, or even better, making a git repo out of your project and pushing it to github or similar.
Greetings, Marcus On 28.05.2014 09:45, Karan Talasila wrote: > Hi > we have written a c++ block using out of tree modules which uses a sync > block that outputs same no of items as input items given. we have written a > python test file where the inputs and outputs are complex floats. The test > code is running well until 4096 items. But when the output items size is > greater than or equal to 8192, ctest shows an assertion error which says > > -10+5j !=10+5j beyond 7 places. > > we are unsure what the error is. Is it got something to do with gnuradio > architecture with limitation beyond 4096*2 items or is it anything else we > are doing wrong. I cannot see an error in the logic of the program. I can > attach the program if necessary. > > > > _______________________________________________ > 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