discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Accessing data in sink


From: Karthik Vijayraghavan
Subject: Re: [Discuss-gnuradio] Accessing data in sink
Date: Mon, 10 Nov 2008 17:06:23 -0800


On Mon, Nov 10, 2008 at 4:04 PM, Mayank Goel <address@hidden> wrote:
Hi,

I am confused about how to access the data that is present in the sink. I mean that I need to send the sink data into some other component and need to access all the contents.

How can I do that?

Thanks

Are you talking about how to read data off the file to which the sink writes its output? You can do that in matlab/oactave using the read_float_binary file which is located in the source tarball. Look for it in gnuradio_dir/gnuradio-core/src/utils. The file is a binary file which contains raw data from the input without any header, so you can use a function like fopen() and fread() to read the contents of the file.

Karthik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]