discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Same File Size


From: John Andrews
Subject: Re: [Discuss-gnuradio] Same File Size
Date: Wed, 29 Sep 2010 15:00:07 -0700

If throttle is removed then how can we prevent the cpu being used up if there is not rate limiting block in the flowgraph ?

On Wed, Sep 29, 2010 at 1:46 PM, Justin Bracken <address@hidden> wrote:
---------- Forwarded message ----------
From: Justin Bracken <address@hidden>
Date: Wednesday, September 29, 2010
Subject: Same File Size
To: Eric Blossom <address@hidden>


Are the samples in the files synced? I.e. The sample at index 1 in
file1 is recorded at the same time as the sample at index 1 in file2?

In which case file length is irrelevant.

On Sep 29, 2010, at 4:20 PM, Eric Blossom <address@hidden> wrote:

> 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

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


reply via email to

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