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:
Hi 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 Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment