Tuesday, March 27, 2018

Re: [Discuss-gnuradio] How to stop GRC flowgraph after a defined time

Wherever you like, as you know (or can easily infer) the sampling rate
at every step in your signal chain.

I'd recommend you start by reading the chapter 0 and 1 of https://tutor
ials.gnuradio.org ; afterwards, a lot of things will be clearer to you
and you might be able to answer such question much quicker yourself.
On Tue, 2018-03-27 at 13:41 +0200, Priyanka Priyadarshini wrote:
> Thanks for your reply. But where should I connect the input and output port of this head block?
>
> Thanks
>
> On Tue, Mar 27, 2018 at 1:26 PM, Gilad Beeri (ApolloShield) <gilad@apolloshield.com> wrote:
> > Check out the Head block, which takes N as input, and stops (the whole flowgraph as a result of how GNU Radio works) after N samples.
> > N = sample_rate * desired_duration
> >
> >
> > On Tue, Mar 27, 2018 at 2:08 PM Priyanka Priyadarshini <ppriyadarshini69@gmail.com> wrote:
> > > Hello,
> > >
> > > I am very new to GNURadio and I have made a FM radio receiver in which I am recording the data in a file sink.
> > >
> > > But, I want to record the data for one millisecond(means i want to stop the flow graph after 1 millisecond). How can I run the execution of the flow graph for this specified time?
> > >
> > > Any help would be appreciated. Thank you.
> > >
> > > Priyanka
> > > _______________________________________________
> > > Discuss-gnuradio mailing list
> > > Discuss-gnuradio@gnu.org
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment