Wednesday, July 22, 2015

Re: [Discuss-gnuradio] OFDM example from gr-digital with UHD

Jose,

If you set your file source to "repeat" it will produce an infinite
amount of samples, just like a sine would.
If you know you want to produce 10,000 packets (and see how many are
received), you only need to 96*10,000 samples.
Hence, you'll use the head block after the file source and set it to
960,000.

Best regards,
Marcus

On 23.07.2015 01:49, Jose Perez wrote:
> Thanks again Marcus.
>
> Now I am using the "Head" block... I don't know which number I have to put
> in "Num Items" to get out my file with no repeated information.
> I can understand this number to a Sin/Cosine function or a random source
> that I can limit how many samples I want ... but for a file I don't know and
> how calculate this number.
> Can you help me with this?
>
> My size's file: 120 bytes ; packet length: 96
>
> Thanks so much
>
> Cheers,
> José
>
> On 16.07.2015 18:52, Marcus Müller-3 wrote:
>
>> As I mentioned, use the "head" block.
>> BR,
>> Marcus
>
>
> --
> View this message in context: http://gnuradio.4.n7.nabble.com/OFDM-example-from-gr-digital-with-UHD-tp54446p54974.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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

No comments:

Post a Comment