# Low frequency in GRC

**URL:** <https://www.ruby-forum.com/t/low-frequency-in-grc/241155>\
**Category:** GNU Radio\
**Created:** [May 15, 2014, 11:07am UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155 "2014-05-15T11:07:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [May 15, 2014, 11:07am UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/1 "2014-05-15T11:07:55Z")

</div>

I am using GNU Radio Companion 3.7.3…when i set the frequency of my  
signal source to low values(in Hz or kHz),i get no signal on my scope or  
fft sink??

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 15, 2014, 12:46pm UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/2 "2014-05-15T12:46:54Z")

</div>

If you attach your GRC flowgraph I’ll take a look at it for you.

Mike

–  
Mike J. M0MIK BSc MIET  
Ettus R. Technical Support  
Email: removed\_email\_address@domain.invalid  
Web: [http://ettus.com](http://ettus.com)

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 15, 2014, 7:54pm UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/3 "2014-05-15T19:54:31Z")

</div>

Regarding the low sample rate, I have had this issue too when decimating  
to  
narrow bandwidths. I assume sample rate is an integer for most blocks  
therefore one can’t go below 1 samp/sec?

Lou  
KD4HSO

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/low-frequency-in-GRC-tp48237p48266.html](http://gnuradio.4.n7.nabble.com/low-frequency-in-GRC-tp48237p48266.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 16, 2014, 1:06pm UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/4 "2014-05-16T13:06:37Z")

</div>

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 17, 2014, 8:39am UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/5 "2014-05-17T08:39:54Z")

</div>

On Fri, May 16, 2014 at 2:01 AM, Marcus L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Gnu Radio is a streaming architecture. Sample-rate is actually  
> almost-entirely meaningless within the flowgraph, and only really  
> has meaning “at the edges” when interfacing to the real world. The only  
> exception is the throttle block, and even it doesn’t  
> produce _precise_ sample-rates.

A too-low value of sample-rate (samp\_rate) could be hazardous.

For example, in Jason’s flowgraph attached in his previous email, the  
settings of the Signal Source block are:

- Sample Rate = 100
- Frequency = 50
- Signal Type = Saw Tooth  
In this case the output from this block is just a repeating of two float  
numbers:- 0.5, 0.0, 0.5, 0.0, 0.5, 0.0, 0.5, 0.0, 0.5, …

If the Sample Rate is reduced to 50, then the output becomes a constant  
value:- 0.5, 0.5, 0.5, 0.5, … (this is worse).

If “Saw Tooth” is the signal pattern that he really wants out from this  
Signal Source block, then he needs to set the sample-rate to a  
high-enough  
value, for example, samp\_rate=1000. With this value the Signal Source  
block  
will produce output which looks more like Saw Tooth:-

0.50, 0.55, 0.60, 0.65, 0.70, 0.75, 0.80, 0.85, 0.90, 0.95,  
0.00, 0.05, 0.10, 0.15, 0.20, 0.25, 0.30, 0.35, 0.40, 0.45,  
0.50, 0.55, 0.60, 0.65, 0.70, 0.75, 0.80, 0.85, 0.90, 0.95,  
0.00, 0.05, 0.10, 0.15, …

Hence, the value of samp\_rate does make a significance in the flowgraph.

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 18, 2014, 3:04am UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/6 "2014-05-18T03:04:59Z")

</div>

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 18, 2014, 3:53am UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/7 "2014-05-18T03:53:30Z")

</div>

On Sat, May 17, 2014 at 9:53 PM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> to a GPP but matters a great deal to physical hardware like your sound card  
> or radio front end. That sample rate has a real physical meaning, and we  
> have to acknowledge this when connecting multiple pieces of hardware  
> together. Basically, we look at rate matching. But the computer or GNU  
> Radio itself doesn’t really know anything about 1 us per sample.
> 
> This is, I think, on of the more complicated concepts to get about  
> software radio.
> 
> Tom

Thanks for the explanation.

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 17, 2014, 3:55pm UTC](https://www.ruby-forum.com/t/low-frequency-in-grc/241155/8 "2014-05-17T15:55:18Z")

</div>

On Sat, May 17, 2014 at 2:38 AM, Activecat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hence, the value of samp\_rate does make a significance in the flowgraph.

So, yes and no on that. There’s the information theoretic concept of  
sample  
rate, which is what you are talking about here. But underneath, we  
normalize all sample rates relative to 1. So it’s the number of samples  
relative to that which matters. We provide the concept of “sample rate”  
in  
the signal generator block only to make it easy to use real values of Hz  
or  
cycles/second here. But the frequency you’re talking about gets divided  
by  
the sample rate before anything else happens. So it’s a convenience of  
representation.

Then there’s the time-based concept of sample rate, which doesn’t matter  
to  
a GPP but matters a great deal to physical hardware like your sound card  
or  
radio front end. That sample rate has a real physical meaning, and we  
have  
to acknowledge this when connecting multiple pieces of hardware  
together.  
Basically, we look at rate matching. But the computer or GNU Radio  
itself  
doesn’t really know anything about 1 us per sample.

This is, I think, on of the more complicated concepts to get about  
software  
radio.

Tom
