[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Same File Size
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Same File Size |
Date: |
Wed, 29 Sep 2010 13:20:41 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Sep 29, 2010 at 04:14:18PM -0400, Justin Bracken wrote:
> Hello All,
>
> I am expecting to see a similiar file size in a simple test file that im
> running and I don't get that. Is there something Im missing?
>
> USRP2->FileSink
> SignalSource->Throttle->FileSink
>
> I have checked obvious things. The USRP2 block is set to a decimation of
> 400. Given the 100MS/s rate of the USRP2 I expect the stream to be 250e3
> MS/s. So I set the overall sample rate to 250e3. I have also set the
> datatypes of all the blocks to floats. The Throttle is set to 250e3.
>
> If it matters the signal source is set to a saw tooth,1Hz.
>
> Im more interested in knowing that samples read back out of the files are
> synchronized. So I guess it doesn't matter if they are the same length if
> all this mean is that I need to trim the files to the same length.
>
> Thanks,
> Justin
If you want a particular number of samples in a file, etc.,
use gr.head.
Generally you SHOULD NOT be using throttle.
throttle causes so much confusion, I'm of the opinion that we should
remove it from the code base.
Eric