discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File source


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] File source
Date: Sun, 4 Jul 2010 21:30:41 -0400

On Sun, Jul 4, 2010 at 5:42 PM, Alexandru Csete <address@hidden> wrote:
> On 4 July 2010 23:13, Marcus D. Leech <address@hidden> wrote:
>> I'm writing a "filter" script using Gnu Radio, which takes a file input,
>> and produces a file output.  What
>>  happens to the flow-graph when it has finished with the input file?
>> Does the flowgraph stop, does it read zeros,
>>  what happens?  Ideally, I'd like it to simply exit.
>
> Hi Marcus,
>
> I have only used the file source and sink in GRC. The file source has
> a boolean parameter called "Repeat", which by default is set to "Yes".
> I have set it to "No" and the script stops when it reaches end of
> file. After that I can exit the script normally.
>
> Alex

Yes, when the file source has the repeat flag set to False, when it
reaches the end of the file, it will return 0, which will stop the
flow graph.

Tom



reply via email to

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