4 Replies - 1005 Views - Last Post: 19 January 2012 - 08:10 AM Rate Topic: -----

#1 waqaraziz123  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-January 12

MIMO-OFDM Code in Python

Posted 10 January 2012 - 07:28 AM

Hey Every one, I am doing project on Design and Implementation of MIMO- OFDM System, if anyone have the idea how to program it using python then please let me know...:)

Regards
Is This A Good Question/Topic? 0
  • +

Replies To: MIMO-OFDM Code in Python

#2 Motoma  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 450
  • View blog
  • Posts: 795
  • Joined: 08-June 10

Re: MIMO-OFDM Code in Python

Posted 10 January 2012 - 07:35 AM

If you have specific questions, we will gladly help you.
Was This Post Helpful? 0
  • +
  • -

#3 waqaraziz123  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-January 12

Re: MIMO-OFDM Code in Python

Posted 14 January 2012 - 07:34 AM

thanks for your reply

actually i run the program usrp_siggen.py using usrps and successfully received it. But i am unable to grasp the code, kindly if u can comment the code for me...or give me some idea about the code ( whats actually happening )

Thanks
Aziz
Was This Post Helpful? 0
  • +
  • -

#4 SegFaulty  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 13
  • View blog
  • Posts: 31
  • Joined: 11-October 10

Re: MIMO-OFDM Code in Python

Posted 18 January 2012 - 08:25 PM

If you could give us the actual code and what is confusing you we might be able to help.
Was This Post Helpful? 0
  • +
  • -

#5 waqaraziz123  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-January 12

Re: MIMO-OFDM Code in Python

Posted 19 January 2012 - 08:10 AM

I have seen the usrp_siggen code and correspondingly made the code for transmission and im successful in transmitting it but the problem i got is it has a very low amplitude and it doesnt produces a single frequency but sinusoids of different frequencies. The code i made is attached here....
kindly identify where i went wrong. Any help is highly appreciated. thanks in advance

Regards,
Waqar Aziz

#!/usr/bin/env python
from gnuradio import gr, gru
from gnuradio import usrp
import sys


class my_top_block(gr.top_block):
    def __init__(self):
        gr.top_block.__init__(self)
        self.interp = 64
        self.sink = usrp.sink_c (0, self.interp)   # Transmitter code
        self.usb_freq = 1000000
        self.src = gr.sig_source_c(self.usb_freq, gr.GR_SIN_WAVE, 2450000000, 32000, 0)
        self.src.set_frequency(input('Set the frequency'))

        self.connect(self.src, self.sink)


def main():
    
    tb=my_top_block()
    #tb.subdev.set_enable(True)                       # enable transmitter
    try:
        tb.run()
        
    except KeyboardInterrupt:
        pass


if __name__ == '__main__':
    main ()


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1