[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] dbpsk mod/demod
From: |
mehdimolu |
Subject: |
Re: [Discuss-gnuradio] dbpsk mod/demod |
Date: |
Thu, 19 Jun 2008 07:36:15 -0700 (PDT) |
hi,
the code I wrote is
#!/usr/bin/env python
from gnuradio import gr, gru, modulation_utils
from gnuradio import blks2
src_data = (0,1,1)
Bsrc = gr.vector_source_b(src_data,False)
Bsink = gr.vector_sink_b()
def build_graph():
fg = gr.top_block ()
Bmod = blks2.dbpsk_mod()
Bdemod = blks2.dbpsk_demod()
fg.connect(Bsrc, Bmod, Bdemod, Bsink)
return fg
if __name__ == '__main__':
fg = build_graph ()
fg.run()
print src_data
sink_data = Bsink.data()
print sink_data
regards,
Mehdi
Eric Blossom wrote:
>
> On Thu, Jun 19, 2008 at 05:16:17AM -0700, mehdimolu wrote:
>>
>> Hi,
>> I connect dbpsk modulator to dbpsk demodulator. I expected that input and
>> output must be the same but it is not.
>> for instance input vector is (0, 1, 1) while
>> output vector is (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1,
>> 0,
>> 0, 0, 0). what is the reason?
>> help is appreciated.
>
> Without actually seeing your code, it's hard to guess.
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
--
View this message in context:
http://www.nabble.com/dbpsk-mod-demod-tp18007657p18010384.html
Sent from the GnuRadio mailing list archive at Nabble.com.