Well, I think I used io_signature correctly. And, as I am using gr_sync_block, I dont need to worry about forecast, set_output_multiple or gr_sync_decimator. (I hope this understanding is correct?!)
I have read the " how to write a block" and followed what's in there, but if you guide me to better documentation, I will be very grateful. Cheers, Sam Eric Blossom wrote: > > On Sat, Jun 12, 2010 at 03:40:21PM -0700, Sammour wrote: >> >> Thanks for everyone, I sorted the problem out. I needed to increment >> "out" >> after memcpy and then return noutput_items/(N*N). >> >> Cheers, >> Sam > > OK. Glad you (think) you solved your problem. > > Given that your block was asked to compute noutput_items, why are you > only computing (and/or returning) noutput_items/(N*N) items? > Doing it this way is increasing the runtime overhead by something on > the order of N*N. > > This smells like there's something that you don't understand about > io_signatures, forecast, work, set_output_multiple and/or > gr_sync_decimator... > > Eric > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://old.nabble.com/complex-vector-output-of-a-block-tp28828557p28869890.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio