discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] About closing flowgraph automatically


From: Martin Braun
Subject: Re: [Discuss-gnuradio] About closing flowgraph automatically
Date: Fri, 22 Jul 2016 09:40:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Simone,

a file source *will* terminate the flow graph once its read the file
(unless you specify 'repeat').

M

On 07/21/2016 12:32 AM, Simone Ciccia S210664 wrote:
> Goodmorning,
> I would like to Know some methods to Close flowgraph automatically when
> it has finished. Some example, stop when USRP has no more samples to
> transmits, or a file source has read until EOF.
> The Run of completion option works when (for instance) you have a file
> source connected to other non-PMT Message block and a sink (USRP or null
> sink...). However, when the file source output is converted to pmt
> Message, then the flowgraph does not stop anymore when rhe file source
> has finished. Probably because the PMT Message block continue to waits
> for messages. In this case, How I can stop automatically the flowgraph?
> I would like to Close the flowgraph when EOF or USRP has no more sample
> to transmit, for example, in a situation like the following:
> 
> FILE SOURCE -> STREAM TO PMT MESSAGE -> PROCESSING BLOCKS -> PMT MESSAGE
> TO FILE SOURCE -> USRP SINK
> 
> Thank for yours support and for the great utility of the list 😊
> simone
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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