# Sample frequency of USRP

**URL:** <https://www.ruby-forum.com/t/sample-frequency-of-usrp/144281>\
**Category:** GNU Radio\
**Created:** [July 28, 2008, 7:06am UTC](https://www.ruby-forum.com/t/sample-frequency-of-usrp/144281 "2008-07-28T07:06:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slpeng](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@slpeng](https://www.ruby-forum.com/u/slpeng)\
**Post date:** [July 28, 2008, 7:06am UTC](https://www.ruby-forum.com/t/sample-frequency-of-usrp/144281/1 "2008-07-28T07:06:52Z")

</div>

hi all:

I am using USRP with DBSRX daughter board.  
I need a very high sample frequency. Currently, the USRP can give me  
maximum sample frequency of 64M/8 in I and Q, and the data type is  
short, which takes 2 bytes.

So can I decrease the length of the output data? for example save the  
data as char which takes 1 bytes, and increase the sample frequency to  
64M/4.  
Can I do this? and how?

---

<div class="post-metadata">

**Author:** ![slpeng](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@slpeng](https://www.ruby-forum.com/u/slpeng)\
**Post date:** [July 28, 2008, 7:14am UTC](https://www.ruby-forum.com/t/sample-frequency-of-usrp/144281/2 "2008-07-28T07:14:22Z")

</div>

On Mon, Jul 28, 2008 at 07:06:52AM +0200, Sl Sl wrote:

> Can I do this? and how?  
> $ usrp\_rx\_cfile.py --help

See the -8 option which gets you 8-bit I & Q and allows a minimum  
decimation factor of 4.

Eric

---

<div class="post-metadata">

**Author:** ![slpeng](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@slpeng](https://www.ruby-forum.com/u/slpeng)\
**Post date:** [July 28, 2008, 7:35am UTC](https://www.ruby-forum.com/t/sample-frequency-of-usrp/144281/3 "2008-07-28T07:35:26Z")

</div>

I am currently writing program by myself. Because I can not understand  
the python code. If I want to do this, which file I need to change?  
Which file in the gnuradio set the output data length?

Eric B. wrote:

> On Mon, Jul 28, 2008 at 07:06:52AM +0200, Sl Sl wrote:
> 
> > Can I do this? and how?  
> > $ usrp\_rx\_cfile.py --help
> 
> See the -8 option which gets you 8-bit I & Q and allows a minimum  
> decimation factor of 4.
> 
> Eric
