[Discuss-gnuradio] Can we really put whatever rx_cfile obtained into ofd
[Discuss-gnuradio] Can we really put whatever rx_cfile obtained into ofdm receiver?
Fri, 2 Oct 2009 18:39:26 -0400
Hi, I am going to give more detail about my experiment in case some one could help me but didn't understand my situation. sender: step 1.a : ./benchmark_ofdm_tx.py -f 10M -i 512 --fft-length=32 --occupied-tones=16 --cp-length=4
receiver: step 1.b: ./usrp_rx_cfile.py -f 10M -d 256 ofdmdata.dat offline at receiver: step 2: ./benchmark_ofdm_rx.py -f 10M -d 256 --fft-length=32 --occupied-tones=16 --cp-length=4 ( after some necessary change in ./benchmark_ofdm_rx.py for example self.u = gr.file_source(gr.sizeof_gr_complex, "data.dat", False))
However, it looks doesn't work, since tried several times, but no packet ever received correctly. Does anyone can give some suggestion?
some change I made in benchmark_ofdm_rx.py file
# Set up USRP source self._setup_usrp_source() #ok = self.set_freq(self._rx_freq) #if not ok: # print "Failed to set Rx frequency to %s" % (eng_notation.num_to_str(self._rx_freq))
# raise ValueError, eng_notation.num_to_str(self._rx_freq) #g = self.subdev.gain_range() #if options.show_rx_gain_range: # print "Rx Gain Range: minimum = %g, maximum = %g, step size = %g" % (g, g, g)
#self.set_gain(options.rx_gain) #self.set_auto_tr(True) # enable Auto Transmit/Receive switching
# Set up receive path self.rxpath = receive_path(callback, options)