Hi,

I am trying to create an OOT module with a vector input. I haven't
implemented the signal processing yet. This is how my code looks like.


*I/O signature*

gr::io_signature::make(1, 1, sizeof(gr_complex)*fft_len),
              gr::io_signature::make(1, 1, sizeof(gr_complex)*fft_len))

*In the work function,*

const gr_complex *in = (const gr_complex *) input_items[0];
gr_complex *out = (gr_complex *) output_items[0];

 consume_each (noutput_items);
 return noutput_items;

When the fft_len is set to 1, the block runs without any errors. However,
when I set the fft_len to some value greater than 1, it fails with the
following error.

python2: /usr/local/src/gnuradio/gnuradio-runtime/include/gnuradio/buffer.h:179:
unsigned int gr::buffer::index_add(unsigned int, unsigned int): Assertion
`s < d_bufsize' failed.

I appreciate if you could give me some guidance to get this fixed.

Thanks,
Damindra

-- 
Damindra Savithri Bandara,
Ph.D. in Information Technology (Candidate)
George Mason University,
Fairfax,
Virginia
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to