|
From: | Ivo Carlson |
Subject: | Re: [Discuss-gnuradio] Read FM signal |
Date: | Tue, 24 Apr 2018 16:31:00 -0300 |
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=address@hidden> on behalf of rear1019 <address@hidden>
> Sent: Wednesday, April 18, 2018 9:58 PM
> To: address@hidden
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
RadioReceiver.grc
Description: application/gnuradio-grc
[Prev in Thread] | Current Thread | [Next in Thread] |