[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] No simple_correlator output
From: |
irene159 |
Subject: |
Re: [Discuss-gnuradio] No simple_correlator output |
Date: |
Tue, 27 May 2008 06:15:00 -0700 (PDT) |
irene159 wrote:
>
> Hello,
>
> I'm still working on QPSK modulation [1]. I think I found the solution for
> bit shifting (simple_framer/simple_correlator). I used uchar_to_float to
> convert the stream of unsigned char coming from the dqpsk demodulator to
> the stream of float expected at the simple_correlator input.
> Can anyone validate this?
>
> -------------------------------------------------------------------------------------------------------------------------------------
> DEMODULATION
> -------------------------------------------------------------------------------------------------------------------------------------
> ...
> objDemod = dqpsk.dqpsk_demod()
> conversion = gr.uchar_to_float()
> correlator = gr.simple_correlator(p_size)
> fg.connect(gr.file_source(gr.sizeof_gr_complex, "Modulated.dat"),
> objDemod, conversion, correlator,
>
> gr.file_sink(gr.sizeof_char,"Result.txt"))
>
> ...
> --------------------------------------------------------------------------------------------------------------------------------------
>
>
> However, there seems to be no simple_correlator output, Result.txt file is
> empty whereas I'm sure of having data coming out of uchar_to_float and
> into simple_correlator.
>
> Regards,
> Irene
>
>
>
> ----------------------------------------------------------------------------------------------------------------------
> MODULATION
> ----------------------------------------------------------------------------------------------------------------------
> ...
> bytes_src = gr.vector_source_b(arrTxt, False)
> framer = gr.simple_framer(p_size)
> objMod = dqpsk.dqpsk_mod()
> fg.connect(bytes_src, framer,
> objMod,gr.file_sink(gr.sizeof_gr_complex,"Modulated.dat"))
> ...
> -------------------------------------------------------------------------------------------------------------------------
>
>
>
> [1] http://www.nabble.com/Modulation-problem---td17316660.html#a17316660
>
--
View this message in context:
http://www.nabble.com/No-simple_correlator-output-tp17471158p17490196.html
Sent from the GnuRadio mailing list archive at Nabble.com.