[Top][All Lists]

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

Re: [Discuss-gnuradio] Reading data from a file

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Reading data from a file
Date: Mon, 07 Jul 2014 12:42:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Sreena,

If you convert uchar to float, a 20 (decimal) = 0001010 (bin) becomes a 20.0 (decimal), which is in float representation a ....ummm....
00000000 00000000 10100000 01000001 .
You shouldn't convert! just set the file sink to the matching input type.

On 07.07.2014 12:21, sreena p h wrote:
I did the following GRC to test psk modulation and demodulation. A text file is input and did modulated and demodulated. After demodulation the result is a pattern of \x00\ and \x08?\ where as I gave charactors 1, 2, 3, 4, ... 10 as input. where have I gone wrong. Please help me understand the data conversion taking place here. 

Discuss-gnuradio mailing list

reply via email to

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