[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] complex vector output of a block
From: |
Sammour |
Subject: |
[Discuss-gnuradio] complex vector output of a block |
Date: |
Wed, 9 Jun 2010 03:40:07 -0700 (PDT) |
Dear all,
I'm writing a block that outputs a vector of complex number inheriting from
gr_sync_block. In my code I wrote:
gr_complex *out =(gr_complex *) output_items[0];
gr_complex out_vector [N*N];
where out_vector is the array where the actual output values are stored. I
copied the data to the pointer using:
memcpy(out, out_vector, N*N*sizeof(gr_complex));
before returning noutput_items from work(). make and make install work fine;
no error shows up. The problem is when I run the flow graph taking the
output of my block to a file sink, the values stored are all zeros.
Any help or suggestions?
Thanks a lot.
Sam
--
View this message in context:
http://old.nabble.com/complex-vector-output-of-a-block-tp28828557p28828557.html
Sent from the GnuRadio mailing list archive at Nabble.com.
- [Discuss-gnuradio] complex vector output of a block,
Sammour <=
- Re: [Discuss-gnuradio] complex vector output of a block, Martin Braun, 2010/06/09
- Re: [Discuss-gnuradio] complex vector output of a block, Sammour, 2010/06/09
- Message not available
- RE: [Discuss-gnuradio] complex vector output of a block, Samy Sammour, 2010/06/09
- RE: [Discuss-gnuradio] complex vector output of a block, Sammour, 2010/06/12
- Re: [Discuss-gnuradio] complex vector output of a block, Eric Blossom, 2010/06/12
- Re: [Discuss-gnuradio] complex vector output of a block, Sammour, 2010/06/13
Re: [Discuss-gnuradio] complex vector output of a block, Eric Blossom, 2010/06/09