Re: [Discuss-gnuradio] OFDM Transmiter and receiver by using USRP1
hi Marcus, I am attaching the screen shots and also block diagram of transmitter.. right now i am just trying to look for transmission of OFDM signal via usrp1. As i mentioned earlier in the fft scope plot in gnu radio i see the typical ofdm signal but on the other hand in usrp sink on the spectrum analyser i saw only simple sine wave peak. please have a look and let me know if there is something else do i need to do to generate the proper ofdm signal on the spectrum analyser. /home/hp/Desktop/spectrumoutput.jpeg http://old.nabble.com/file/p32675018/spectrumoutput.jpeg spectrumoutput.jpeg Block diagram in GNU radio /home/hp/Documents/finaltesting.grc http://old.nabble.com/file/p32675018/finaltesting.grc finaltesting.grc Please have a look and suggest me how to fix this problem in order to see the proper ofdm signal on spectrum analyser as well?? Do i need and firm ware update or sumthing on FPGA on usrp1 ??? Looking forward to hear from you. Thanks for your help. Cheers. Marcus D. Leech wrote: On 10/16/2011 05:55 PM, waqasme wrote: Hi Marcus, As i mentioned the flow graph signal blocks i have used in gnu radio companion from that i am getting this out put on FFT sink in GNU radio companion simulation flowgraph which is similar like this If you're trying to embed images, it's not working, and the de-embedded ones on the bottom show only the spectrum of something typical of OFDM, and a spectrum-analyser output that looks like it was set up to sweep from 10Hz to 5GHz (is that what you had in mind?), which would produce only a sharp peak in the middle. We still don't know what your flow-graph(s) look like. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/OFDM-Transmiter-and-receiver-by-using-USRP1-tp32662445p32675018.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
Re: [Discuss-gnuradio] OFDM Transmiter and receiver by using USRP1
Hello Marcus thanks for your reply.. Well the problem is there is not much documentation available on internet on usurp .. Also I am quite new to gnu radio and usrp1 ... I tried to play with interpolation and decimation settings but didnot get the desired ofdm signal .. I am not sure what else I can do to fix this problem . If u know any documentation regarding that please do let me know . U mentioned about UHd but I could not find any UHd blocks in gnu radio .. As I saw in one example someone use UHd .. Iam using Ubuntu 10.10 and gnu radio companion 3.2.2 version .. I will really appreciate if u can guide me how to setup the settings or specs i need for usrp 1 .. Thanks and regards... Marcus D. Leech wrote: hi Marcus, I am attaching the screen shots and also block diagram of transmitter.. right now i am just trying to look for transmission of OFDM signal via usrp1. As i mentioned earlier in the fft scope plot in gnu radio i see the typical ofdm signal but on the other hand in usrp sink on the spectrum analyser i saw only simple sine wave peak. please have a look and let me know if there is something else do i need to do to generate the proper ofdm signal on the spectrum analyser. /home/hp/Desktop/spectrumoutput.jpeg http://old.nabble.com/file/p32675018/spectrumoutput.jpeg spectrumoutput.jpeg Block diagram in GNU radio /home/hp/Documents/finaltesting.grc http://old.nabble.com/file/p32675018/finaltesting.grc finaltesting.grc Your flow-graph appears to be badly confused about bandwidths and interpolations and sample rates --an interpolation ratio on your USRP1 sink of 100e6 is almost certainly *not* what you had in mind. You probably need to learn more about all of that, and get some better notions of how the OFDM modulator block works. At the very least you'll need to fractionally-interpolate the baseband up to some sample rather that *can* reasonably be further interpolated by the USRP1 hardware. Given how simple this graph currently is, I'd *strongly* suggest that you upgrade your world to UHD, since your investment in the old world is still rather small. -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/OFDM-Transmiter-and-receiver-by-using-USRP1-tp32662445p32677135.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
Re: [Discuss-gnuradio] OFDM Transmiter and receiver by using USRP1
Hello Marcus thanks for your reply.. Well the problem is there is not much documentation available on internet on usurp .. Also I am quite new to gnu radio and usrp1 ... I tried to play with interpolation and decimation settings but didnot get the desired ofdm signal .. I am not sure what else I can do to fix this problem . If u know any documentation regarding that please do let me know . U mentioned about UHd but I could not find any UHd blocks in gnu radio .. As I saw in one example someone use UHd .. Iam using Ubuntu 10.10 and gnu radio companion 3.2.2 version .. I will really appreciate if u can guide me how to setup the settings or specs i need for usrp 1 .. Thanks and regards... Marcus D. Leech wrote: hi Marcus, I am attaching the screen shots and also block diagram of transmitter.. right now i am just trying to look for transmission of OFDM signal via usrp1. As i mentioned earlier in the fft scope plot in gnu radio i see the typical ofdm signal but on the other hand in usrp sink on the spectrum analyser i saw only simple sine wave peak. please have a look and let me know if there is something else do i need to do to generate the proper ofdm signal on the spectrum analyser. /home/hp/Desktop/spectrumoutput.jpeg http://old.nabble.com/file/p32675018/spectrumoutput.jpeg spectrumoutput.jpeg Block diagram in GNU radio /home/hp/Documents/finaltesting.grc http://old.nabble.com/file/p32675018/finaltesting.grc finaltesting.grc Your flow-graph appears to be badly confused about bandwidths and interpolations and sample rates --an interpolation ratio on your USRP1 sink of 100e6 is almost certainly *not* what you had in mind. You probably need to learn more about all of that, and get some better notions of how the OFDM modulator block works. At the very least you'll need to fractionally-interpolate the baseband up to some sample rather that *can* reasonably be further interpolated by the USRP1 hardware. Given how simple this graph currently is, I'd *strongly* suggest that you upgrade your world to UHD, since your investment in the old world is still rather small. -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/OFDM-Transmiter-and-receiver-by-using-USRP1-tp32662445p32677136.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
Re: [Discuss-gnuradio] OFDM Transmiter and receiver by using USRP1
Hello Marcus thanks for your reply.. Well the problem is there is not much documentation available on internet on usurp .. Also I am quite new to gnu radio and usrp1 ... I tried to play with interpolation and decimation settings but didnot get the desired ofdm signal .. I am not sure what else I can do to fix this problem . If u know any documentation regarding that please do let me know . U mentioned about UHd but I could not find any UHd blocks in gnu radio .. As I saw in one example someone use UHd .. Iam using Ubuntu 10.10 and gnu radio companion 3.2.2 version .. I will really appreciate if u can guide me how to setup the settings or specs i need for usrp 1 .. Thanks and regards... Marcus D. Leech wrote: hi Marcus, I am attaching the screen shots and also block diagram of transmitter.. right now i am just trying to look for transmission of OFDM signal via usrp1. As i mentioned earlier in the fft scope plot in gnu radio i see the typical ofdm signal but on the other hand in usrp sink on the spectrum analyser i saw only simple sine wave peak. please have a look and let me know if there is something else do i need to do to generate the proper ofdm signal on the spectrum analyser. /home/hp/Desktop/spectrumoutput.jpeg http://old.nabble.com/file/p32675018/spectrumoutput.jpeg spectrumoutput.jpeg Block diagram in GNU radio /home/hp/Documents/finaltesting.grc http://old.nabble.com/file/p32675018/finaltesting.grc finaltesting.grc Your flow-graph appears to be badly confused about bandwidths and interpolations and sample rates --an interpolation ratio on your USRP1 sink of 100e6 is almost certainly *not* what you had in mind. You probably need to learn more about all of that, and get some better notions of how the OFDM modulator block works. At the very least you'll need to fractionally-interpolate the baseband up to some sample rather that *can* reasonably be further interpolated by the USRP1 hardware. Given how simple this graph currently is, I'd *strongly* suggest that you upgrade your world to UHD, since your investment in the old world is still rather small. -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/OFDM-Transmiter-and-receiver-by-using-USRP1-tp32662445p32677138.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] OFDM Transmiter and receiver by using USRP1
Hello all, I am trying to transmitt and recieve OFDM signal Via USRP1 board. I made basic simulation in GNU radio a signal source block and then interleave and then OFDM modulator and then channel model block then usrp1 sink and fft sink to see the output..In FFT sink at the end it shows proper square like OFDM signal but on the other hand in spectrum analyser it shows only one peak sine wav signal not OFDM. I tried to play with the setiings but couldnot get the desired ofdm signal output. This is just tranmitter setup and i attched with spectrum anlyzer but i dinot get OFDM signal . iam only getting simple sine wave in the spectrum analyser. I tried with simple random sourse block and then DQPSK modulator and Usrp sink then it worked it shows sine wave signal in out put at spectrum analyser.Please any body know how to fix this problem or any solution ??? For reciever part i will use the same block in reverse order with ofdm demodulator.. All suggestions are appriciated. Looking forward to it... Thanks in advance.. waq. -- View this message in context: http://old.nabble.com/OFDM-Transmiter-and-receiver-by-using-USRP1-tp32662445p32662445.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
Re: [Discuss-gnuradio] OFDM Transmiter and receiver by using USRP1
Hi Marcus, As i mentioned the flow graph signal blocks i have used in gnu radio companion from that i am getting this out put on FFT sink in GNU radio companion simulation flowgraph which is similar like this and i have used RF cable to connect from USRP1 TX board to the spectrum analyser RF out put and i am getting the output like this In spectrum analyser iam getting noise and only 1 peak in the middle which does not look like ofdm signal. I insert both the images above so you can have a look and please let me know what could be the problem. I have used 2.4GHz frequency and i am using USRP1 board . i hope the above too diagrams help you to understand my problem. Thanks and Regards, Marcus D. Leech wrote: On 10/16/2011 12:29 PM, waqasme wrote: Hello all, I am trying to transmitt and recieve OFDM signal Via USRP1 board. I made basic simulation in GNU radio a signal source block and then interleave and then OFDM modulator and then channel model block then usrp1 sink and fft sink to see the output..In FFT sink at the end it shows proper square like OFDM signal but on the other hand in spectrum analyser it shows only one peak sine wav signal not OFDM. I tried to play with the setiings but couldnot get the desired ofdm signal output. This is just tranmitter setup and i attched with spectrum anlyzer but i dinot get OFDM signal . iam only getting simple sine wave in the spectrum analyser. I tried with simple random sourse block and then DQPSK modulator and Usrp sink then it worked it shows sine wave signal in out put at spectrum analyser.Please any body know how to fix this problem or any solution ??? For reciever part i will use the same block in reverse order with ofdm demodulator.. All suggestions are appriciated. Looking forward to it... Thanks in advance.. waq. More specificity is usually required to allow people to help you. Posting your (GRC-produced) flow-graph would help. From your description it's hard for anyone to help you. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio http://old.nabble.com/file/p32663266/fft%2Bofdm_spectrum.jpg http://old.nabble.com/file/p32663266/fft%2Bofdm_spectrum.jpg http://old.nabble.com/file/p32663266/fft%2Bofdm_spectrum.jpg fft+ofdm_spectrum.jpg http://old.nabble.com/file/p32663266/ofdm_spec.gif -- View this message in context: http://old.nabble.com/OFDM-Transmiter-and-receiver-by-using-USRP1-tp32662445p32663266.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
Re: [Discuss-gnuradio] OFDM Implementation
Hi everyone, I am trying to test signal tranmit by using OFDM modulator via USRP1 and i am getting this error message . Does anyone know what does it mean?or how to fix this problem. i connected one usrp1 with usb cable to my laptop just to check the transmission. it shows the signal in FFT sink but when i add USRP sink it gives me this error. i am not sure how to confirm that wheater it is tranmsitting the signal or not. Any help will be appriciated Error: failed to enable realtime scheduling. usrp: failed to find usrp[0] Traceback (most recent call last): File /home/lefteris/top_block.py, line 98, in module tb = top_block() File /home/lefteris/top_block.py, line 51, in __init__ self.usrp_simple_sink_x_0 = grc_usrp.simple_sink_c(which=0, side=A) File /usr/lib/python2.6/dist-packages/grc_gnuradio/usrp/simple_usrp.py, line 91, in __init__ self._make_usrp(which=which, nchan=1) File /usr/lib/python2.6/dist-packages/grc_gnuradio/usrp/common.py, line 28, in _make_usrp def _make_usrp(self, *args, **kwargs): self._u = self._usrp_args[0](*args, **kwargs) File /usr/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py, line 2469, in sink_c return _usrp_swig.sink_c(*args, **kwargs) RuntimeError: can't open usrp Thanks waq. Tuan (Johnny) Ta wrote: Quick correction cd /usr/share/gnuradio/examples/ofdm/ ./benchmark_ofdm_tx.py -h On Sun, Sep 11, 2011 at 7:26 PM, Tuan (Johnny) Ta ta.tu...@gmail.comwrote: Try this cd /usr/share/gnuradio/examples/ofdm/ benchmark_ofdm_tx.py -h Don't forget the spaces (just copy paste should work) On Sun, Sep 11, 2011 at 7:19 PM, waqasme waqa...@hotmail.com wrote: hello Johnny, I tried that locate command and i have found the location of the files .here is the output: hp@ubuntu:~$ cd/usr/local/bin bash: cd/usr/local/bin: No such file or directory hp@ubuntu:~$ ls DesktopDownloads Music Public Templates Documents examples.desktop Pictures rx file Videos hp@ubuntu:~$ locate benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc hp@ubuntu:~$ locate benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.pyc hp@ubuntu:~$ benchmark_ofdm_tx.py -h benchmark_ofdm_tx.py: command not found hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found hp@ubuntu:~$ cd benchmark_ofdm_tx.py-h bash: cd: benchmark_ofdm_tx.py-h: No such file or directory I have used locate comand to find the benchmark files. its in /usr/share... /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc Now as in my previous discussion with sumit, he mentioned after that type these comands to show the paramaters benchmark_ofdm_tx.py-h but it says comand not found. Am i missing something here in the command line? Please advise for further process.. Thanks.. Waq. Tuan Ta-2 wrote: You seem to be quite new to Linux, what do you intend to do for your Master thesis? Gnuradio is not something you can master in a couple of months. To go to a directory, you need to use the 'cd' command. Ie cd /usr/local/bin My benchmark_ofdm code is not in /usr/local/bin so when you get to that folder, do a 'ls' to see if the code is there. If not, you can run locate benchmark_ofdm_tx.py The results will show you where the file is in your system. Good luck, Johnny On Sun, Sep 11, 2011 at 5:55 PM, waqasme waqa...@hotmail.com wrote: Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate
Re: [Discuss-gnuradio] OFDM Implementation
Hi everyone, I am trying to test signal tranmit by using OFDM modulator via USRP1 and i am getting this error message . Does anyone know what does it mean?or how to fix this problem. i connected one usrp1 with usb cable to my laptop just to check the transmission. it shows the signal in FFT sink but when i add USRP sink it gives me this error. i am not sure how to confirm that wheater it is tranmsitting the signal or not. Any help will be appriciated Error: failed to enable realtime scheduling. usrp: failed to find usrp[0] Traceback (most recent call last): File /home/lefteris/top_block.py, line 98, in module tb = top_block() File /home/lefteris/top_block.py, line 51, in __init__ self.usrp_simple_sink_x_0 = grc_usrp.simple_sink_c(which=0, side=A) File /usr/lib/python2.6/dist-packages/grc_gnuradio/usrp/simple_usrp.py, line 91, in __init__ self._make_usrp(which=which, nchan=1) File /usr/lib/python2.6/dist-packages/grc_gnuradio/usrp/common.py, line 28, in _make_usrp def _make_usrp(self, *args, **kwargs): self._u = self._usrp_args[0](*args, **kwargs) File /usr/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py, line 2469, in sink_c return _usrp_swig.sink_c(*args, **kwargs) RuntimeError: can't open usrp Thanks waq. Tuan (Johnny) Ta wrote: Quick correction cd /usr/share/gnuradio/examples/ofdm/ ./benchmark_ofdm_tx.py -h On Sun, Sep 11, 2011 at 7:26 PM, Tuan (Johnny) Ta ta.tu...@gmail.comwrote: Try this cd /usr/share/gnuradio/examples/ofdm/ benchmark_ofdm_tx.py -h Don't forget the spaces (just copy paste should work) On Sun, Sep 11, 2011 at 7:19 PM, waqasme waqa...@hotmail.com wrote: hello Johnny, I tried that locate command and i have found the location of the files .here is the output: hp@ubuntu:~$ cd/usr/local/bin bash: cd/usr/local/bin: No such file or directory hp@ubuntu:~$ ls DesktopDownloads Music Public Templates Documents examples.desktop Pictures rx file Videos hp@ubuntu:~$ locate benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc hp@ubuntu:~$ locate benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.pyc hp@ubuntu:~$ benchmark_ofdm_tx.py -h benchmark_ofdm_tx.py: command not found hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found hp@ubuntu:~$ cd benchmark_ofdm_tx.py-h bash: cd: benchmark_ofdm_tx.py-h: No such file or directory I have used locate comand to find the benchmark files. its in /usr/share... /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc Now as in my previous discussion with sumit, he mentioned after that type these comands to show the paramaters benchmark_ofdm_tx.py-h but it says comand not found. Am i missing something here in the command line? Please advise for further process.. Thanks.. Waq. Tuan Ta-2 wrote: You seem to be quite new to Linux, what do you intend to do for your Master thesis? Gnuradio is not something you can master in a couple of months. To go to a directory, you need to use the 'cd' command. Ie cd /usr/local/bin My benchmark_ofdm code is not in /usr/local/bin so when you get to that folder, do a 'ls' to see if the code is there. If not, you can run locate benchmark_ofdm_tx.py The results will show you where the file is in your system. Good luck, Johnny On Sun, Sep 11, 2011 at 5:55 PM, waqasme waqa...@hotmail.com wrote: Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate
Re: [Discuss-gnuradio] OFDM Implementation
Hello sumit, I am trying to make OFDM trasmitter and reciever block diagram( with signal processing blocks available in GNU Radio) in GNU Radio companion. As my supervisor asked me to make simulation first in GNU radio software then move on to USRP. i have made this basic simulation model for OFDM transmitter which consists of: Random source, Interleave, packet encoder, OFDM modulator, throttle and FFT sink block . by using these signal blocks iam getting the flow graph of OFDM transmitter. but now i want to make OFDM reciever as well. i tried the same technique in reverse order with OFDM demodulator ,packet decoder, deinterlever , throotle and scope sink but its not showing any signal . please if you know how to design or make the OFDM transmitter and reciever in GNU Radio companion software please guide me or let me know.. Thanks in advance. Regards, -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32464269.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
Re: [Discuss-gnuradio] OFDM Implementation
hello, well i followed the same steps and now i can see the different options by typing that command benchmark_ofdm_py. -h .. now am done up till that now i asked my supervisor to provide me the extra USRP so hopefully i will get it soon from him. till that time i am just try to understand how it works . i have one question reagarding the OFDM signal block processing diagram like which we can create in GNU Radio companion. For this particular benchmark_OFDM is there any block diagram or blocks i have to create in GNU radio companion? and one more question do i need 1 USRP1 device or two to transmit and recieve? please let me know the procedure how to setup . i am assuming it is connected through USB interface what else is required to make a proper setup? thanks once again for your help. Thanks to u and johnny... Please advise... sumitstop wrote: Hi, sorry my internet was down for almost 12 hrs... so whts the situation now.are you able to transmit and receive waqasme wrote: Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate to ur daughter board also there may be drift in the center frequency of the daughter board so u can do one thing. first run the transmitter part and see on the spectrum analyzer for the center frequency of the ofdm signal. after that run the receiver part with that center frequency specified in the arguments. now run the transmitter again with the same frequency. if u get timeouts then u need to play with the receiver gain and transmitter amplitude as well as the receiver center frequency. u can change the bandwidth of the ofdm signal by changing the no of occupied tones or fft length because bw = occupied tones/ fft length let me know ur results. Regards waqasme wrote: hello sumit, yah i have replaced the GMSK modulator and demodulator with OFDM modulator and demaodulator. but i coudlnot find message source , ,message sink, probe signal and probe avg mag 2 with only input .. the one i have found has input and output as well for probe avg mag 2 block... i couldnot able to find these blocks as in the simple tranceiver diagram example they used these blocks... can you plesase guide me where to get these blocks? Also you mentioned this command ( benchmark_ofdm.py -h ) is that a command or what? because i have entered this command in terminal window but it says command not found? and if i type in google to search it opens a c ++ code ..what i am suppose to do with that. ?? please tell me how to use this benchmark_ofdm.py code.. where to put this code to make the simulation work. i am very new to GNU radio so i have no idea what functions i can play with and how to implement this. please guide me like how to make this OFDM tranmission and reception via USRP. iam using Linux Ubuntu maveric and GNU Radio companion 3.2.2 version... I really appriciate your help because i have only few time left for my Masters project. Thanks in advance i am looking forward to hear from you. Regards, Waq. sumitstop wrote: http://pwnhome.files.wordpress.com/2011/04/simple_transceiver1.png see carefully... it has a gmsk modulator in the bottom.u can make the bottom modulator part in another pc benchmark programs are quite good to start with... u can type benchmark_ofdm.py -h to see all the parameters u can play with. waqasme wrote: And sorry to mention in the last mail that i will be suing USRP 1 . waqasme wrote: Hi Sumit, Thank you so much for your quick response. yah i understand what your saying and i am trying to understand this document but it doesnot help much . As you mentioned use the same Tranceiver setup and only replace OFDM blocks with that. My question
Re: [Discuss-gnuradio] OFDM Implementation
Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate to ur daughter board also there may be drift in the center frequency of the daughter board so u can do one thing. first run the transmitter part and see on the spectrum analyzer for the center frequency of the ofdm signal. after that run the receiver part with that center frequency specified in the arguments. now run the transmitter again with the same frequency. if u get timeouts then u need to play with the receiver gain and transmitter amplitude as well as the receiver center frequency. u can change the bandwidth of the ofdm signal by changing the no of occupied tones or fft length because bw = occupied tones/ fft length let me know ur results. Regards waqasme wrote: hello sumit, yah i have replaced the GMSK modulator and demodulator with OFDM modulator and demaodulator. but i coudlnot find message source , ,message sink, probe signal and probe avg mag 2 with only input .. the one i have found has input and output as well for probe avg mag 2 block... i couldnot able to find these blocks as in the simple tranceiver diagram example they used these blocks... can you plesase guide me where to get these blocks? Also you mentioned this command ( benchmark_ofdm.py -h ) is that a command or what? because i have entered this command in terminal window but it says command not found? and if i type in google to search it opens a c ++ code ..what i am suppose to do with that. ?? please tell me how to use this benchmark_ofdm.py code.. where to put this code to make the simulation work. i am very new to GNU radio so i have no idea what functions i can play with and how to implement this. please guide me like how to make this OFDM tranmission and reception via USRP. iam using Linux Ubuntu maveric and GNU Radio companion 3.2.2 version... I really appriciate your help because i have only few time left for my Masters project. Thanks in advance i am looking forward to hear from you. Regards, Waq. sumitstop wrote: http://pwnhome.files.wordpress.com/2011/04/simple_transceiver1.png see carefully... it has a gmsk modulator in the bottom.u can make the bottom modulator part in another pc benchmark programs are quite good to start with... u can type benchmark_ofdm.py -h to see all the parameters u can play with. waqasme wrote: And sorry to mention in the last mail that i will be suing USRP 1 . waqasme wrote: Hi Sumit, Thank you so much for your quick response. yah i understand what your saying and i am trying to understand this document but it doesnot help much . As you mentioned use the same Tranceiver setup and only replace OFDM blocks with that. My question is in this basic tranciver diagram the used two UHD's source and sink and in the middle they use GMSK Demodulator right. but they didnot use any modulator any where in the design. Now i am confused what blocks i have to replace with OFDM blocks??? Please try to explain in bit detail so i can design it properly . OR you mentioned other option that use benchmark_OFDM.py file . Somebody already told me about this benchmark file. but its just C++ code . i am quite new to GNU radio and dont know much about the functions how it works. Please let me know how to use that benchmark_OFDM.py file in order to make the simulation design? do i have to download the file or what? how it works ?? let me know if you know about the process how to compile and run that code in GNU radio. Thanks for ur help and support really appriciate that... Regards, Waqas. sumitstop wrote: Try to understand these http://pwnhome.wordpress.com/2011/04/26/intro-to-gnuradio-and-the-usrp-part-5-simple-transceiver/ here u
Re: [Discuss-gnuradio] OFDM Implementation
Thanks johnny for your response yes i am quite new to GNU Radio so just started to learn about this software. Ok i will play with it and let you know the results. Thanks for your help guys.. Waq.. Tuan Ta-2 wrote: You seem to be quite new to Linux, what do you intend to do for your Master thesis? Gnuradio is not something you can master in a couple of months. To go to a directory, you need to use the 'cd' command. Ie cd /usr/local/bin My benchmark_ofdm code is not in /usr/local/bin so when you get to that folder, do a 'ls' to see if the code is there. If not, you can run locate benchmark_ofdm_tx.py The results will show you where the file is in your system. Good luck, Johnny On Sun, Sep 11, 2011 at 5:55 PM, waqasme waqa...@hotmail.com wrote: Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate to ur daughter board also there may be drift in the center frequency of the daughter board so u can do one thing. first run the transmitter part and see on the spectrum analyzer for the center frequency of the ofdm signal. after that run the receiver part with that center frequency specified in the arguments. now run the transmitter again with the same frequency. if u get timeouts then u need to play with the receiver gain and transmitter amplitude as well as the receiver center frequency. u can change the bandwidth of the ofdm signal by changing the no of occupied tones or fft length because bw = occupied tones/ fft length let me know ur results. Regards waqasme wrote: hello sumit, yah i have replaced the GMSK modulator and demodulator with OFDM modulator and demaodulator. but i coudlnot find message source , ,message sink, probe signal and probe avg mag 2 with only input .. the one i have found has input and output as well for probe avg mag 2 block... i couldnot able to find these blocks as in the simple tranceiver diagram example they used these blocks... can you plesase guide me where to get these blocks? Also you mentioned this command ( benchmark_ofdm.py -h ) is that a command or what? because i have entered this command in terminal window but it says command not found? and if i type in google to search it opens a c ++ code ..what i am suppose to do with that. ?? please tell me how to use this benchmark_ofdm.py code.. where to put this code to make the simulation work. i am very new to GNU radio so i have no idea what functions i can play with and how to implement this. please guide me like how to make this OFDM tranmission and reception via USRP. iam using Linux Ubuntu maveric and GNU Radio companion 3.2.2 version... I really appriciate your help because i have only few time left for my Masters project. Thanks in advance i am looking forward to hear from you. Regards, Waq. sumitstop wrote: http://pwnhome.files.wordpress.com/2011/04/simple_transceiver1.png see carefully... it has a gmsk modulator in the bottom.u can make the bottom modulator part in another pc benchmark programs are quite good to start with... u can type benchmark_ofdm.py -h to see all the parameters u can play with. waqasme wrote: And sorry to mention in the last mail that i will be suing USRP 1 . waqasme wrote: Hi Sumit, Thank you so much for your quick response. yah i understand what your saying and i am trying to understand this document but it doesnot help much . As you mentioned use the same Tranceiver setup and only replace OFDM blocks with that. My question is in this basic tranciver diagram the used two UHD's source and sink and in the middle they use GMSK Demodulator right. but they didnot use any modulator any
Re: [Discuss-gnuradio] OFDM Implementation
Yes johnny for a while i need only OFDM transmitter and reciever via USRP for my project. I just want that this OFDM system can transmit and receive via USRP, that is my aim at the moment. Thanks once again for your detailed clarification. i will try that and let you know the results. Thank you so much for your help i really appriciate that. Regards, Waqas. Tuan Ta-2 wrote: As far as I know there's no open source code for an OFDM transceiver available. I was trying to build one half a year back but wasn't successful before I had to move on to something else. The benchmark_ofdm code will give you a simplex OFDM system. Ie you can run the transmitter on 1 USRP and receiver on another. Ie. run this on 1 USRP ./benchmark_ofdm_tx.py -f 2.412G And this on the other ./benchmark_ofdm_rx.py -f 2.412G The value of the frequency depends on the daughterboards you're using. If you're using USRP1 make sure the decimation rate is 1/2 of the interpolation rate as the ADC is 2 times faster than the DAC on the USRP1 (or the other way around, you should chek that). Watch out for the frequency offset, it killed the system for me. If the above doesn't work, run the transmitter on 1 USRP and usrp_fft.py on the other. Check the center frequency of the FFT plot and manually adjust the receiver center frequency. I used the RFX2400 boards and the offset for me was ~ 40kHz. Good luck, Johnny On Fri, Sep 9, 2011 at 2:30 AM, sumitstop sumit.ku...@research.iiit.ac.inwrote: http://pwnhome.files.wordpress.com/2011/04/simple_transceiver1.png see carefully... it has a gmsk modulator in the bottom.u can make the bottom modulator part in another pc benchmark programs are quite good to start with... u can type benchmark_ofdm.py -h to see all the parameters u can play with. waqasme wrote: And sorry to mention in the last mail that i will be suing USRP 1 . waqasme wrote: Hi Sumit, Thank you so much for your quick response. yah i understand what your saying and i am trying to understand this document but it doesnot help much . As you mentioned use the same Tranceiver setup and only replace OFDM blocks with that. My question is in this basic tranciver diagram the used two UHD's source and sink and in the middle they use GMSK Demodulator right. but they didnot use any modulator any where in the design. Now i am confused what blocks i have to replace with OFDM blocks??? Please try to explain in bit detail so i can design it properly . OR you mentioned other option that use benchmark_OFDM.py file . Somebody already told me about this benchmark file. but its just C++ code . i am quite new to GNU radio and dont know much about the functions how it works. Please let me know how to use that benchmark_OFDM.py file in order to make the simulation design? do i have to download the file or what? how it works ?? let me know if you know about the process how to compile and run that code in GNU radio. Thanks for ur help and support really appriciate that... Regards, Waqas. sumitstop wrote: Try to understand these http://pwnhome.wordpress.com/2011/04/26/intro-to-gnuradio-and-the-usrp-part-5-simple-transceiver/ here u need to put those ofdm blocks .. thats it also go through some modifications as written in umit, http://pwnhome.wordpress.com/2011/04/19/intro-to-gnuradio-and-the-usrp-part-4/ or else work with benchmark_ofdm.py its very easy.. :) may i know what daughter boards do you have... waqasme wrote: Hello sumit, Thanks for your help i went through that document that you refered to, and i tried to implement that OFDM transmitter part. This document only explain about OFDM flow graph or transmitter. Is there any other document or information related to OFDM modulator and demodulator (Transceiver)? i haver to implement OFDM transmission and reception via USRP. i will really appriciate if you can help me that or someone else who knows how to implement by using GNU radio companion. Thanks in advance. Regards, Waq. - Sumit Kr. Research Assistant Communication Research center IIIT Hyderabad India -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32429184.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 -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32444265.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list
Re: [Discuss-gnuradio] OFDM Implementation
hello Johnny, I tried that locate command and i have found the location of the files .here is the output: hp@ubuntu:~$ cd/usr/local/bin bash: cd/usr/local/bin: No such file or directory hp@ubuntu:~$ ls DesktopDownloads Music Public Templates Documents examples.desktop Pictures rx file Videos hp@ubuntu:~$ locate benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc hp@ubuntu:~$ locate benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.pyc hp@ubuntu:~$ benchmark_ofdm_tx.py -h benchmark_ofdm_tx.py: command not found hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found hp@ubuntu:~$ cd benchmark_ofdm_tx.py-h bash: cd: benchmark_ofdm_tx.py-h: No such file or directory I have used locate comand to find the benchmark files. its in /usr/share... /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc Now as in my previous discussion with sumit, he mentioned after that type these comands to show the paramaters benchmark_ofdm_tx.py-h but it says comand not found. Am i missing something here in the command line? Please advise for further process.. Thanks.. Waq. Tuan Ta-2 wrote: You seem to be quite new to Linux, what do you intend to do for your Master thesis? Gnuradio is not something you can master in a couple of months. To go to a directory, you need to use the 'cd' command. Ie cd /usr/local/bin My benchmark_ofdm code is not in /usr/local/bin so when you get to that folder, do a 'ls' to see if the code is there. If not, you can run locate benchmark_ofdm_tx.py The results will show you where the file is in your system. Good luck, Johnny On Sun, Sep 11, 2011 at 5:55 PM, waqasme waqa...@hotmail.com wrote: Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate to ur daughter board also there may be drift in the center frequency of the daughter board so u can do one thing. first run the transmitter part and see on the spectrum analyzer for the center frequency of the ofdm signal. after that run the receiver part with that center frequency specified in the arguments. now run the transmitter again with the same frequency. if u get timeouts then u need to play with the receiver gain and transmitter amplitude as well as the receiver center frequency. u can change the bandwidth of the ofdm signal by changing the no of occupied tones or fft length because bw = occupied tones/ fft length let me know ur results. Regards waqasme wrote: hello sumit, yah i have replaced the GMSK modulator and demodulator with OFDM modulator and demaodulator. but i coudlnot find message source , ,message sink, probe signal and probe avg mag 2 with only input .. the one i have found has input and output as well for probe avg mag 2 block... i couldnot able to find these blocks as in the simple tranceiver diagram example they used these blocks... can you plesase guide me where to get these blocks? Also you mentioned this command ( benchmark_ofdm.py -h ) is that a command or what? because i have entered this command in terminal window but it says command not found? and if i type in google to search it opens a c ++ code ..what i am suppose to do with that. ?? please tell me how to use this benchmark_ofdm.py code.. where to put this code to make the simulation work. i am very new to GNU radio so i have no idea what functions i can play with and how to implement this. please guide me like how to make this OFDM tranmission and reception via USRP
Re: [Discuss-gnuradio] OFDM Implementation
Thanks Johnny yah that worked ..it is showing me different options for OFDM... so for this particular benchmark_ofdm file the signal processing blocks are displaying in GNU Radio companion or is there anything else i have to do to make the block diagram of the system? thank you so much for your quick response and valuable information... Really appriciate that johnny. Thanks. Tuan Ta-2 wrote: Quick correction cd /usr/share/gnuradio/examples/ofdm/ ./benchmark_ofdm_tx.py -h On Sun, Sep 11, 2011 at 7:26 PM, Tuan (Johnny) Ta ta.tu...@gmail.comwrote: Try this cd /usr/share/gnuradio/examples/ofdm/ benchmark_ofdm_tx.py -h Don't forget the spaces (just copy paste should work) On Sun, Sep 11, 2011 at 7:19 PM, waqasme waqa...@hotmail.com wrote: hello Johnny, I tried that locate command and i have found the location of the files .here is the output: hp@ubuntu:~$ cd/usr/local/bin bash: cd/usr/local/bin: No such file or directory hp@ubuntu:~$ ls DesktopDownloads Music Public Templates Documents examples.desktop Pictures rx file Videos hp@ubuntu:~$ locate benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc hp@ubuntu:~$ locate benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_rx.pyc hp@ubuntu:~$ benchmark_ofdm_tx.py -h benchmark_ofdm_tx.py: command not found hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found hp@ubuntu:~$ cd benchmark_ofdm_tx.py-h bash: cd: benchmark_ofdm_tx.py-h: No such file or directory I have used locate comand to find the benchmark files. its in /usr/share... /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.py /usr/share/gnuradio/examples/ofdm/benchmark_ofdm_tx.pyc Now as in my previous discussion with sumit, he mentioned after that type these comands to show the paramaters benchmark_ofdm_tx.py-h but it says comand not found. Am i missing something here in the command line? Please advise for further process.. Thanks.. Waq. Tuan Ta-2 wrote: You seem to be quite new to Linux, what do you intend to do for your Master thesis? Gnuradio is not something you can master in a couple of months. To go to a directory, you need to use the 'cd' command. Ie cd /usr/local/bin My benchmark_ofdm code is not in /usr/local/bin so when you get to that folder, do a 'ls' to see if the code is there. If not, you can run locate benchmark_ofdm_tx.py The results will show you where the file is in your system. Good luck, Johnny On Sun, Sep 11, 2011 at 5:55 PM, waqasme waqa...@hotmail.com wrote: Hi Sumit, Thanks you so much for ur detailed explanation . i really appriciate your help. I am following the same steps as you mentioned earlier but iam getiing this message when i am entering these comands in terminal. here is the messages . hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ /usr/local/bin bash: /usr/local/bin: is a directory hp@ubuntu:~$ benchmark_ofdm_tx.py-h benchmark_ofdm_tx.py-h: command not found when i enter this comand i get this result hp@ubuntu:~$ directory/usr/local/bin bash: directory/usr/local/bin: No such file or directory hp@ubuntu:~$ No such file or directory. how to access that directory? do i need to run some other commands before that ? what could be the problem ? any suggestion ? sumitstop wrote: go to the directory /usr/local/bin there u will find benchmark files for ofdm (both transmission and reception) u need to type benchmark_ofdm_rx.py -h and benchmark_ofdm_tx.py -h these will show you the parameters u can play with. after that u can run these files by typing ./benchmark_ofdm_tx.py -f frequency appropriate to ur daughter board and ./benchmark_ofdm_rx.py -f frequency appropriate to ur daughter board also there may be drift in the center frequency of the daughter board so u can do one thing. first run the transmitter part and see on the spectrum analyzer for the center frequency of the ofdm signal. after that run the receiver part with that center frequency specified in the arguments. now run the transmitter again with the same frequency. if u get timeouts then u need to play with the receiver gain and transmitter amplitude as well as the receiver center frequency. u can change the bandwidth of the ofdm signal by changing the no of occupied tones or fft length because bw = occupied tones/ fft length let me know ur results. Regards waqasme wrote: hello sumit, yah i have replaced the GMSK modulator and demodulator with OFDM modulator and demaodulator. but i coudlnot find message source
Re: [Discuss-gnuradio] OFDM Implementation
Hi Sumit, Thank you so much for your quick response. yah i understand what your saying and i am trying to understand this document but it doesnot help much . As you mentioned use the same Tranceiver setup and only replace OFDM blocks with that. My question is in this basic tranciver diagram the used two UHD's source and sink and in the middle they use GMSK Demodulator right. but they didnot use any modulator any where in the design. Now i am confused what blocks i have to replace with OFDM blocks??? Please try to explain in bit detail so i can design it properly . OR you mentioned other option that use benchmark_OFDM.py file . Somebody already told me about this benchmark file. but its just C++ code . i am quite new to GNU radio and dont know much about the functions how it works. Please let me know how to use that benchmark_OFDM.py file in order to make the simulation design? do i have to download the file or what? how it works ?? let me know if you know about the process how to compile and run that code in GNU radio. Thanks for ur help and support really appriciate that... Regards, Waqas. sumitstop wrote: Try to understand these http://pwnhome.wordpress.com/2011/04/26/intro-to-gnuradio-and-the-usrp-part-5-simple-transceiver/ here u need to put those ofdm blocks .. thats it also go through some modifications as written in umit, http://pwnhome.wordpress.com/2011/04/19/intro-to-gnuradio-and-the-usrp-part-4/ or else work with benchmark_ofdm.py its very easy.. :) may i know what daughter boards do you have... waqasme wrote: Hello sumit, Thanks for your help i went through that document that you refered to, and i tried to implement that OFDM transmitter part. This document only explain about OFDM flow graph or transmitter. Is there any other document or information related to OFDM modulator and demodulator (Transceiver)? i haver to implement OFDM transmission and reception via USRP. i will really appriciate if you can help me that or someone else who knows how to implement by using GNU radio companion. Thanks in advance. Regards, Waq. -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32423644.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
Re: [Discuss-gnuradio] SNR(Signal to Noise Ratio) Value in DQPSK Implementation
Hi Tom, Thanks for your reply. yah i did use noise block and i am changing the amplitude in the noise block but it does not make any difference in the output. You said calculate the SNR value i have to check signal power and determine the noise power. i dont know how to calculate those values. iam simply changing the amplitude in the noise block and try to see if it makes any difference. And the link you have provided below is the C++ code that does not explain anywhere how to calculate or change the SNR value. Can you please explain in detail how it works. i really appriciate your help and support. Thanks and Regards, Waqas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/SNR%28Signal-to-Noise-Ratio%29-Value-in-DQPSK-Implementation-tp32381155p32423923.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
Re: [Discuss-gnuradio] OFDM Implementation
And sorry to mention in the last mail that i will be suing USRP 1 . waqasme wrote: Hi Sumit, Thank you so much for your quick response. yah i understand what your saying and i am trying to understand this document but it doesnot help much . As you mentioned use the same Tranceiver setup and only replace OFDM blocks with that. My question is in this basic tranciver diagram the used two UHD's source and sink and in the middle they use GMSK Demodulator right. but they didnot use any modulator any where in the design. Now i am confused what blocks i have to replace with OFDM blocks??? Please try to explain in bit detail so i can design it properly . OR you mentioned other option that use benchmark_OFDM.py file . Somebody already told me about this benchmark file. but its just C++ code . i am quite new to GNU radio and dont know much about the functions how it works. Please let me know how to use that benchmark_OFDM.py file in order to make the simulation design? do i have to download the file or what? how it works ?? let me know if you know about the process how to compile and run that code in GNU radio. Thanks for ur help and support really appriciate that... Regards, Waqas. sumitstop wrote: Try to understand these http://pwnhome.wordpress.com/2011/04/26/intro-to-gnuradio-and-the-usrp-part-5-simple-transceiver/ here u need to put those ofdm blocks .. thats it also go through some modifications as written in umit, http://pwnhome.wordpress.com/2011/04/19/intro-to-gnuradio-and-the-usrp-part-4/ or else work with benchmark_ofdm.py its very easy.. :) may i know what daughter boards do you have... waqasme wrote: Hello sumit, Thanks for your help i went through that document that you refered to, and i tried to implement that OFDM transmitter part. This document only explain about OFDM flow graph or transmitter. Is there any other document or information related to OFDM modulator and demodulator (Transceiver)? i haver to implement OFDM transmission and reception via USRP. i will really appriciate if you can help me that or someone else who knows how to implement by using GNU radio companion. Thanks in advance. Regards, Waq. -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32424735.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
Re: [Discuss-gnuradio] OFDM Implementation
Hello sumit, Thanks for your help i went through that document that you refered to, and i tried to implement that OFDM transmitter part. This document only explain about OFDM flow graph or transmitter. Is there any other document or information related to OFDM modulator and demodulator (Transceiver)? i haver to implement OFDM transmission and reception via USRP. i will really appriciate if you can help me that or someone else who knows how to implement by using GNU radio companion. Thanks in advance. Regards, Waq. -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32418951.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
Re: [Discuss-gnuradio] OFDM Implementation
Thanks for you help sumit. i really appriciate that . i will go through this link and will let you know if i will have any further question or problem regarding the OFDM implementation. Thanks once again. Regards, Waqas. sumitstop wrote: refer to this.. http://pwnhome.wordpress.com/2011/01/29/intro-to-gnuradio-and-the-usrp-part-2-visualizing-the-waves/ waqasme wrote: Hello All, Does anyone know how to implement OFDM implementation by USING GNU RADIO COMPANION. Some one told me to use Benchmark_OFDM.py script. But i am not sure how this will work and how we can put this script in GNU radio companion to make the simulation. If any one know please guide me . i will really appriciate that. Regards, Waq. -- View this message in context: http://old.nabble.com/OFDM-Implementation-tp32380874p32404346.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] SNR(Signal to Noise Ratio) Value in DQPSK Implementation
Hi All, Does anyone know where we can change the Signal to noise ratio value in GNU radio companion. i have made one DQPSK simulation for image transfer and now i want to check the transmission and reception of the image at different SNR values. I am unable to find any signal block where i can change the SNR value .?? Please if any one can help i will be very grateful. Regards, Waq -- View this message in context: http://old.nabble.com/SNR%28Signal-to-Noise-Ratio%29-Value-in-DQPSK-Implementation-tp32381155p32381155.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] Grey Connection problem
Hello everyone, I am trying to implement DQPSK implementation in GRC and trying to transfer image but i am getting this error message . Also some of my connection are grey. Can anyone please tell me what does grey connection means? and how to fix that? i tried to remove the connection and also put new connection still some are the connections shows grey color insetad of black. here is the error message i am getting Form: class 'gnuradio.wxgui.forms.forms.log_slider' - gain_mu Error translating value: 0.0 math domain error Value should be within slider range Traceback (most recent call last): File /usr/lib/python2.6/dist-packages/gnuradio/wxgui/forms/forms.py, line 100, in lambda widget.Bind(EVT_DATA, lambda x: self._update(x.data)) File /usr/lib/python2.6/dist-packages/gnuradio/wxgui/forms/forms.py, line 179, in _update File /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py, line 2672, in SetValue return _controls_.Slider_SetValue(*args, **kwargs) TypeError: in method 'Slider_SetValue', expected argument 2 of type 'int' Traceback (most recent call last): File /usr/lib/python2.6/dist-packages/gnuradio/wxgui/forms/forms.py, line 100, in lambda widget.Bind(EVT_DATA, lambda x: self._update(x.data)) File /usr/lib/python2.6/dist-packages/gnuradio/wxgui/forms/forms.py, line 179, in _update def _update(self, value): self._slider.SetValue(value) File /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py, line 2672, in SetValue return _controls_.Slider_SetValue(*args, **kwargs) TypeError: in method 'Slider_SetValue', expected argument 2 of type 'int' I will be very grateful if anyone help me out regarding this error message. Thanks and Regards, Waq. -- View this message in context: http://old.nabble.com/Grey-Connection-problem-tp32311442p32311442.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
Re: [Discuss-gnuradio] benchmark OFDM Question
Thank you so much Tom for your quick response.. yes i have found the code scripts in gnurdio-examples/python/ofdm. But iam not sure how to implement this code to make simulation in GNU radio. could you please explain in bit detail how to use this code to make the tranmission and reception blocks in GNU Radio. I will really appriciate if you kindly guide me how to make this simulation work. Thanks for your help and for your valuable information. looking forward to hear from you. Anyone is welcome to answer ... Regards, Waqas. waqa...@hotmail.com -- View this message in context: http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32271118.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
Re: [Discuss-gnuradio] benchmark OFDM Question
Hello Tom, Thank you so much Tom for your quick response.. yes i have found the code scripts in gnurdio-examples/python/ofdm. Please help me to implment this in GRC. i dont know how to use this code to make simulation blocks in SDR.. where i have to put this code to make simulation ? i am looking forward to hearfrom you. Thanks for ur help... Thanks and Regards, Waqas. waqa...@hotmail.com waqasme wrote: Thank you so much Tom for your quick response.. yes i have found the code scripts in gnurdio-examples/python/ofdm. But iam not sure how to implement this code to make simulation in GNU radio. could you please explain in bit detail how to use this code to make the tranmission and reception blocks in GNU Radio. I will really appriciate if you kindly guide me how to make this simulation work. Thanks for your help and for your valuable information. looking forward to hear from you. Regards, Waqas. waqa...@hotmail.com On Sat, Aug 13, 2011 at 11:38 AM, waqasme waqa...@hotmail.com wrote: 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. In the source code, you can find these scripts in gnurdio-examples/python/ofdm. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32265421.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
Re: [Discuss-gnuradio] benchmark OFDM Question
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 waqa...@hotmail.com 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 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 Discuss-gnuradio@gnu.org 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. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] benchmark OFDM Question
Thank you so much Tom for your quick response.. yes i have found the code scripts in gnurdio-examples/python/ofdm. But iam not sure how to implement this code to make simulation in GNU radio. could you please explain in bit detail how to use this code to make the tranmission and reception blocks in GNU Radio. I will really appriciate if you kindly guide me how to make this simulation work. Thanks for your help and for your valuable information. looking forward to hear from you. Regards, Waqas. waqa...@hotmail.com On Sat, Aug 13, 2011 at 11:38 AM, waqasme waqa...@hotmail.com wrote: 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. In the source code, you can find these scripts in gnurdio-examples/python/ofdm. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32257757.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