[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] benchmark OFDM Question
From: |
waqasme |
Subject: |
Re: [Discuss-gnuradio] benchmark OFDM Question |
Date: |
Sat, 13 Aug 2011 08:38:40 -0700 (PDT) |
Hi Everyone/Smith,
I am doin my M.Sc. project on OFDM Implementation in GNU RADIO (SDR) via
USRP.
I am quite new to GNU Radio i dont know much about its functions. I am
looking for benchmark_ofdm.py file that i can use to implement the design n
GNU radio and later on transmit and recieve via USRP.
I will be very greatful to you if anyone of you send me the file or tell me
where i can get all this info and how to implement (procedure).
Thanks in advance...
Waqas.
14/08/2011
address@hidden
smith mark wrote:
>
> Hi everyone,
> I am working on OFDM in gnuradio. I ran the benchmark_ofdm.py file.
> Everything worked well, I want to ask one thing that I didn't see the last
> packet on the terminal.
> I set the packet size to 400 bytes and total number of bytes to be
> transmitted to 1600. I should see 4 packets but i see only 3 packets.
> Where
> is the problem??
> Portion of the code is given blelow:
> --------------------------------------------------------------------------------
> nbytes = int(1600 * 1) //line that I changed
> n = 0
> pktno = 0
> pkt_size = int(400) //line that I changed
>
> while n < nbytes:
> pkt_contents = struct.pack('!H', pktno) + (pkt_size - 2) * chr(pktno &
> 0xff)
> send_pkt(pkt_contents)
> n += pkt_size
> pktno += 1
> ---------------------------------------------------------------------------------
>
>
> Output is shown below:
>
>>>> gr_fir_ccf: using SSE
>>>> gr_fir_ccc: using SSE
>>>> gr_fir_fff: using SSE
> ok: True pktno: 0 n_rcvd: 1 n_right: 1
> 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>
>
> ok: True pktno: 1 n_rcvd: 2 n_right: 2
> 0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101
>
>
> ok: True pktno: 2 n_rcvd: 3 n_right: 3
> 0202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202
>
> Why fourth packet is not sent ? Or if it is sent then why it is not
> displayed in the output. I am using gnuradio 3.3.0. Please help me in
> this.
>
>
> Regards
> Smith
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
--
View this message in context:
http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32256377.html
Sent from the GnuRadio mailing list archive at Nabble.com.
- Re: [Discuss-gnuradio] benchmark OFDM Question,
waqasme <=