discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Number sink and making a clock


From: Nicolas Cuervo
Subject: Re: [Discuss-gnuradio] Number sink and making a clock
Date: Tue, 6 Sep 2016 13:03:01 -0700

Hi Santos,

The signal should (and most probably is) being streamed out from the source block as you set it up. The update period of the number sink is only to tell it when to look for a new value and retrieve it to the label. It is just a visualization tool. So you'll see that, by setting your update period to something significantly smaller than the period of your signal, you get a faster response in exchange of higher computational effort. But setting it with the same period of your signal means that you'd fetch one value of it at the number sink once per period.

As it is just a visualization tool, it wont affect the functionality of your implementation. You can (and have already, according to your first email) prove this by comparing the output of the number sink with a time sink. You said that you saw the signal in the time sink as you expected, which is great, and also tells you that you set up the signal source according with your expected behaviour.

I hope I clarified a bit your inquiry.

Cheers,
-N

On Tue, Sep 6, 2016 at 12:17 PM, Santos Campos <address@hidden> wrote:
Ah that did slow it down to more real time!

So, data isn't really streaming out of the signal source block like the parameters would suggest, is it?
My expectation with forcing a long period was it'd stream high for 10s and low for 10s.

On Tue, Sep 6, 2016 at 1:24 PM, Nicolas Cuervo <address@hidden> wrote:
Hi Santos,

inside the number sink there is a field called "Update Period", which you can reduce to a value that suits your needs. For what I understand of your setup, maybe you have a rather big number here in comparison with the update rate of the sink. Try reducing this value and let us know if this helps you solve your problem.

Cheers,

-Nicolas

On Tue, Sep 6, 2016 at 7:49 AM, Santos Campos <address@hidden> wrote:
Hello, all!

I'm using a square wave to make a clock(frequency = .05 Hz, Period = 20s).
It shows up well in a time sink, but has trouble gaining stability in a number plot.

How can I get the number sink to update in real time?

Thanks and any help is much appreciated!

-Santos

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio





--
/*
Santos Campos
University of Michigan '17 | Computer Engineering
Virtual EM Inc | Engineering Intern
*/


reply via email to

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