On 02/20/2014 06:58 AM, sarankumar wrote:
> Hi,
> I wrote a custom block to compute beamforming weights. The block takes 8
> inputs and 8 outputs.
> It takes 64 samples from each input stream and produces 1 output in each
> output stream.I am not getting any output and GRC stops working when I
> set the decimation rate to 64.I tried printing noutput_items and it is
> like 64,32,16,8,4,2,1 and stops. But when I set the rate to 1 the block

When you say 'stops', what happens to the upstream blocks?
(also you're using GR < 3.7, might want to switch when you're writing
new stuff... but that seems unrelated).

> beamformer_cc_impl::beamformer_cc_impl(int nsamples)
>       : gr_sync_decimator("beamformerr_cc",
>      gr_make_io_signature(1, -1, sizeof (gr_complex)),
>      gr_make_io_signature(1, -1, sizeof (gr_complex)),nsamples),
>       d_samples(nsamples),
>       
>     {
>        
>     }
> int
>     beamformer_cc_impl::work(int noutput_items,
>  gr_vector_const_void_star &input_items,
>  gr_vector_void_star &output_items)
>     {
> return noutput_items;
> }

This seems correct. I'm more concerned about what's going in upstream.

M

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to