discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Segmentation fault : Try to make dual channel bui


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Segmentation fault : Try to make dual channel building blocks
Date: Fri, 6 Mar 2009 19:27:29 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Mar 06, 2009 at 05:22:44PM -0800, Yong J. Chang wrote:
> 
> Thank you Eric,
> 
> But I still have a problem. I simply made two blocks. 
> 
> 1) First One
> gr_data_parser::gr_data_parser ()
>   : gr_block ("gr_data_parser",
>                  gr_make_io_signature (1, 1, sizeof (gr_complex)),
>                  gr_make_io_signature (1, 2, sizeof (gr_complex)))
> 
> 2) Second One
> gr_data_parser2::gr_data_parser2 ()
>   : gr_block ("gr_data_parser2",
>                  gr_make_io_signature (1, 2, sizeof (gr_complex)),
>                  gr_make_io_signature (1, 1, sizeof (gr_complex)))
> 
> And I connect above two blocks in following way.
> 
> self.connect(self.u, ..... , data_parser, data_parser2 , .... self. u);
> 
> I put a debug code in the function 'general_work()' of first function, I
> just can have 
> 
> output_items.size() = 1

That means that the block has a single output, not that the size of
the output item is 1 byte.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]