discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Re: file_sink does not save all ?


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Re: file_sink does not save all ?
Date: Mon, 25 May 2009 18:14:52 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, May 25, 2009 at 11:22:38PM +0000, feldmaus wrote:
> Eric Blossom <eb <at> comsec.com> writes:
> 
> > What you are seeing is the expected behavior.
> > 
> Thanks for your Answer,
> 
> so you mean this is the normal behaviour, that it doesnt have the same
> count of samples at all file_sinks ?
> 
> regards Markus

Markus,

It does save all of the samples that it's seen.  GNU Radio does not
process everything "instantaneously".  Since you're not causing the
graph to stop synchronously, say using gr.head, or by providing input
from a file, the graph is stopping at the first interruption point
that it comes to after seeing stop().  There are many threads
involved, and they are not all stopped atomically.

If you feed your graph from a file and let it run to the EOF, you
would get the same number of samples in all three files.

Eric





reply via email to

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