Forum: GNU Radio [howto] read binary manually

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
feldmaus (Guest)
on 2009-04-06 15:28
(Received via mailing list)
Hi All,

for those who want to read the binary value by hand,
the binary value is saved as 2*32bit value.
32bit --> I
32bit --> Q
And are saved one after another,
I1 Q1 I2 Q2 I3 Q3 I4 Q4 ...

No we look at I1 and describe how it will be computed by hand:
For example:
BIN: 00000000 00000000 10000000 10111111
HEX: 00       00       80       BF

But the PC stores the lowest byte first and then goes to the higher
So we have to read the bytes from behind to the front:
HEX: BF 80 00 00
BIN: 10111111 10000000 00000000 00000000
This will be computed as described here,
and results in the 32bit float:

Regards Markus
This topic is locked and can not be replied to.