Thursday, April 19, 2018

Re: [Discuss-gnuradio] Read FM signal

Nope! That's a common misconception!
The file sink just writes the bits as they come in. Whether, for
example, a 64 bit item is actually a complex number consisting of two
32 bit IEEE754 floats, or a double, or two 32 bit integers, or one
64bit integers, or just a vector of 8 Bytes of data (chars) is really
of no difference to the sink.

On Thu, 2018-04-19 at 20:04 +0000, Patrick Sathyanathan wrote:
> Hi Ivo,
>
> The binary format depends on what you have set as the "Input Type" in the file sink. The default is "Complex" in which case the values are 32-bit float I followed by 32-bit float Q. The order of the 4-bytes in the float likely depends on the endianness of your host system.
>
> --Patrick
> From: Discuss-gnuradio <discuss-gnuradio-bounces+wpats=hotmail.com@gnu.org> on behalf of rear1019 <rear1019@posteo.de>
> Sent: Wednesday, April 18, 2018 9:58 PM
> To: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] Read FM signal
>
> On Tue, 17 Apr 2018 at 14:32:17 -0300, Ivo Carlson wrote:
> > […]
> > The file sink saves the data in a binary format, but I don't know what
> > this data represents. How do I interpret this data? What does this data
> > represent?
>
> This question can not be answered as we don't know how your flowgraph
> looks like. Provide your flowgraph (.grc file) or a screenshot (open the
> flowgraph in GNU Radio Companion, go to File menu and select "Screen
> Capture").
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment