[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] File usrp_rx_cfile.py
From: |
Dan Halperin |
Subject: |
Re: [Discuss-gnuradio] File usrp_rx_cfile.py |
Date: |
Wed, 25 Jul 2007 11:58:11 -0700 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070604) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The data is packed binary data. Each complex samples is stored as 8
bytes, 4 bytes I as a float and 4 bytes Q. You need to use a binary
program to read these files. See read_complex_binary.m for MATLAB code
and the exact same syscalls translate directory into a C program to do
the same thing.
- -Dan
David Lindberg wrote:
> Hello,
>
>
> I e-mailed this list last week and have had some issues trying to get the
> file usrp_rx_cfile.py to give me a proper output. The readme file says
> that
> the output is "single precision complex float values". Honestly I do not
> know how to convert this data to a proper text that I can analyze. The
> output file that is written is just a bunch of 'NUL' values when read in
> Notepad++. When I read it in regular notepad, it is a similar garbled
> message. The file can be found at this link:
>
> <http://www.prism.gatech.edu/~gtg640r/data.dat>
>
>
> Please let me know if you have any information in reading this output.
>
>
> David Lindberg
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGp51Dy9GYuuMoUJ4RAohwAKCM60Ze1XaaZprksEPkTYEBG/+VjgCgyGBN
NWckaooTJlOkB/cRtF70IVI=
=WfU0
-----END PGP SIGNATURE-----