[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] complex vector output of a block
From: |
Sammour |
Subject: |
Re: [Discuss-gnuradio] complex vector output of a block |
Date: |
Wed, 9 Jun 2010 08:03:33 -0700 (PDT) |
To isolate the problem, I removed all the complex code and wrote the
following in work() to generate a vector of random numbers:
gr_complex *out =(gr_complex *) output_items[0];
unsigned int index = 0;
for (unsigned int m =1; m<=4; m++)
{
*(out+index)=gr_complex(std::rand(), std::rand());
index++;
}
return noutput_items;
Here, I get a bunch of complex numbers followed by many zeros followd by
many complex numbers. The number in each group is not constant.
Any suggestions to control this?
Best wishes,
Sam
--
View this message in context:
http://old.nabble.com/complex-vector-output-of-a-block-tp28828557p28831629.html
Sent from the GnuRadio mailing list archive at Nabble.com.
- [Discuss-gnuradio] complex vector output of a block, Sammour, 2010/06/09
- 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