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

2018-03-27 Thread Benny Alexandar
, 2018 4:32 PM To: discuss-gnuradio@gnu.org Subject: [Discuss-gnuradio] How to stop GRC flowgraph after a defined time 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

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

2018-03-27 Thread CEL
Within the gnuradio source tree, https://github.com/gnuradio/gnuradio . Where they've been installed depends on your system, but you'd typically look in places like /usr/[local/]lib[64]/python2.7/{site,dist}-packages/gnuradio Note that most of the blocks that come with GNU Radio aren't written in

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

2018-03-27 Thread Priyanka Priyadarshini
thank you. One more question: Where can i find the python code files of GNUradio blocks? Thank you On Tue, Mar 27, 2018 at 2:01 PM, Müller, Marcus (CEL) wrote: > Wherever you like, as you know (or can easily infer) the sampling rate > at every step in your signal chain. > > I'd recommend you s

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

2018-03-27 Thread Ed Criscuolo
Priyanka, Based on what you've described so far, it sounds like the most likely place for it is right after the signal source (UHD, Osmocom, FCD, etc). For example, if your source is sampling at a rate of 1e6 (one million) samples per second, put the head block after it and set the count to 1000

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

2018-03-27 Thread CEL
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 mu

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

2018-03-27 Thread Priyanka Priyadarshini
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) < gi...@apolloshield.com> wrote: > Check out the Head block, which takes N as input, and stops (the whole > flowgraph as a result of

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

2018-03-27 Thread Gilad Beeri (ApolloShield)
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 < ppriyadarshin...@gmail.com> wrote: > Hello, > > I am very new to GNURa

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

2018-03-27 Thread Priyanka Priyadarshini
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?

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

2018-03-27 Thread Priyanka
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