discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File sink question


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] File sink question
Date: Fri, 31 Mar 2017 01:02:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Dear Ellie,

I'm not aware of any GNU Radio-compatible SDR receiver with a sampling rate of 300 MHz - that is very high - are you perhaps confusing sampling rate and center frequency?

How do you "measure" 5min? GNU Radio doesn't "run" at the sampling rate you set in things like the signal source – that is really just a number, a parameter, that the signal source uses together with the signal frequency you configure to calculate how long a period is in samples. Samples will be produced as fast as your computer is – which is probably less then 300 MS/s.

So, if you'd want 5mins of "simulated signal", you'd use a "head" block, with the number of samples being set to 300,000,000·60·5. Notice that you **do not** want to do that, usually. In GNU Radio's default complex signal type, which is complex numbers composed of 32 bit real and 32bit imaginary float, that's 720 GB.

Best regards,

Marcus


On 03/31/2017 12:13 AM, Ellie White wrote:

Hello again,

 

I have a quick question to ask about how the file sink works (since this was slightly unrelated to the other question I thought I should put it under a different subject line). To provide some background info, my sampling rate is set at 300e6, and I recorded data for (I’m guessing) about 5 minutes. Based on some fiddling around in Python with a data file I saved from a file sink, it appears that just 426,152 time samples were recorded to file, so I am wondering, first, why are there so few samples recorded (i.e. why wasn’t the number of samples recorded 300e6*seconds)? And second, how does the file sink “decide” which samples to keep, and which not to keep?

 

Thank you in advance for any help/explanations!

 

Ellie



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


reply via email to

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