Accessing data in sink

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

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

Just add and connect another sink to the same data source. You can ‘fan
out’
the flow graph as much as needed (within resource limits, of course).
Paul M.

On Mon, Nov 10, 2008 at 4:04 PM, Mayank G. [email protected]
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

Karthik Vijayraghavan wrote in post #747875:

On Mon, Nov 10, 2008 at 4:04 PM, Mayank G. [email protected]
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

Hi,
this is my first time that I’m writing here I need to see the bits that
I stored in a file, but How I can open it? Someone can explain me very
simply the steps that I have to do. I’m a beginner :frowning: