Re: [Discuss-gnuradio] Running OFDM files
Jose Emilio Gervilla Rega wrote: Hello all, I will give you more details about my problem because someone has asked me for them(thank you): The OFDM system we are using is which is defined in this link: http://gnuradio.org/trac/browser/gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/python/gnuradio/blksimpl?rev=5763 The file ofdm.py is the transmitter and the other ones are receiver and synchronization modules. When I run ofdm.py which I've copied into the folder I told you on the other topic(the first one), appear some errors. If I type ./ofdm.py the output is: ./ofdm.py: line 23: import: order not found from: can't read /var/mail/numpy from: can't read /var/mail/gnuradio ./ofdm.py: line 26: import: order not found from: can't read /var/mail/gnuradio.blksimpl.ofdm_receiver ./ofdm.py: line 35: sintax error near token no hoped `(' ./ofdm.py: line 35: `class ofdm_mod(gr.hier_block):' I'm using Linux Ubuntu 7.04 and gnuradio 3.1.1. Thank you all for help us!! Jose, You are not quite using those blocks correctly, anyway. They depend on their location to be properly imported. All of the core OFDM blocks are locaked in blks2impl and can be imported using gnuradio.blks2: from gnuradio import gr, blks2 Then you can access blks2.ofdm or blks2.ofdm_receiver. If you are working on a new type of synchronization, you'll want to place that in blks2impl. You'll find there are already four different types already there: ofdm_sync_pn, ofdm_sync_pnac, ofdm_sync_ml, and ofdm_sync_fixed. The fixed version simply knows how long to delay the triggering and assumes no frequency offset and was used just to test the mod/demod blocks. Of the rest, only the PN sequence synchronization currently works (and may be the only one that will ever work of these). I think a bit of reorganization is due for the sync blocks, anyway. They do 1 or 2 steps too many. I would like to remove the ofdm_sampler from it, put that block in ofdm_receiver and output two streams from each sync: a timing trigger for when the preamble is detected and the fine frequency derotated OFDM symbol. The idea being a general interface for different OFDM sync blocks like yours that we could fit in. Make sense? Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Running OFDM files
On Wed, Feb 27, 2008 at 05:43:18PM +0100, Jose Emilio Gervilla Rega wrote: > > Hello all, > > I will give you more details about my problem because someone has asked me > for them(thank you): > > The OFDM system we are using is which is defined in this link: > > http://gnuradio.org/trac/browser/gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/python/gnuradio/blksimpl?rev=5763 > Jose, that stuff is ancient. The stuff in the trunk is much more up-to-date. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Running OFDM files
On Wed, Feb 27, 2008 at 11:43 AM, Jose Emilio Gervilla Rega <[EMAIL PROTECTED]> wrote: > > Hello all, > > I will give you more details about my problem because someone has asked me > for them(thank you): > > The OFDM system we are using is which is defined in this link: > > http://gnuradio.org/trac/browser/gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/python/gnuradio/blksimpl?rev=5763 > > The file ofdm.py is the transmitter and the other ones are receiver and > synchronization modules. When I run ofdm.py which I've copied into the > folder I told you on the other topic(the first one), appear some errors. If > I type ./ofdm.py the output is: > > ./ofdm.py: line 23: import: order not found > from: can't read /var/mail/numpy > from: can't read /var/mail/gnuradio > ./ofdm.py: line 26: import: order not found > from: can't read /var/mail/gnuradio.blksimpl.ofdm_receiver > ./ofdm.py: line 35: sintax error near token no hoped `(' > ./ofdm.py: line 35: `class ofdm_mod(gr.hier_block):' I don't think those files are for running from the shell. For OFDM examples, why not check out: http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-examples/python/ofdm?rev=5763 They should be installed on your local system here: /usr/local/share/gnuradio/examples/ofdm You might have better success checking out those, especially the benchmark scripts. Brian ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Running OFDM files
Hello all, I will give you more details about my problem because someone has asked me for them(thank you): The OFDM system we are using is which is defined in this link: http://gnuradio.org/trac/browser/gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/python/gnuradio/blksimpl?rev=5763 The file ofdm.py is the transmitter and the other ones are receiver and synchronization modules. When I run ofdm.py which I've copied into the folder I told you on the other topic(the first one), appear some errors. If I type ./ofdm.py the output is: ./ofdm.py: line 23: import: order not found from: can't read /var/mail/numpy from: can't read /var/mail/gnuradio ./ofdm.py: line 26: import: order not found from: can't read /var/mail/gnuradio.blksimpl.ofdm_receiver ./ofdm.py: line 35: sintax error near token no hoped `(' ./ofdm.py: line 35: `class ofdm_mod(gr.hier_block):' I'm using Linux Ubuntu 7.04 and gnuradio 3.1.1. Thank you all for help us!! _ Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar siempre a la última Guapos y guapas, clips musicales y estrenos de cine. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Running OFDM files
On Wed, Feb 27, 2008 at 9:18 AM, Jose Emilio Gervilla Rega <[EMAIL PROTECTED]> wrote: > > Hello all, > > We are working in OFDM synchronization. When you install GNURadio, there > are among the examples an OFDM system which runs perfectly. But we need to > run other different files that we have found in GNURadio website where uses > some different kinds of synchronization in order to include our > synchronization in this system. The problem is that we have downloaded these > files, we have copied them into the folder gnuradio-examples/python/ofdm and > we have tried to run this system but it doesn´t. There are several errors > saying that "import" is not a known command or something similar. We suppose > that what we have downloaded is coded ok because it is in the website and > the errors are really strange because "import" is a well-known python > command, and that our problem is because we have copied it in the wrong > folder or something like this. > > Does anyone could help us to get to run it? A few things would be more helpful: 1. A link to the code you think should be working (please don't attach and post to the list) 2. The version of GNU Radio you are working with 3. Your system configuration (OS, architecture, etc, etc) 4. The command you're running and the erroneous output These types of things are always required or else you may not get many responses since your errors are too vague. Brian ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Running OFDM files
Hello all, We are working in OFDM synchronization. When you install GNURadio, there are among the examples an OFDM system which runs perfectly. But we need to run other different files that we have found in GNURadio website where uses some different kinds of synchronization in order to include our synchronization in this system. The problem is that we have downloaded these files, we have copied them into the folder gnuradio-examples/python/ofdm and we have tried to run this system but it doesn´t. There are several errors saying that "import" is not a known command or something similar. We suppose that what we have downloaded is coded ok because it is in the website and the errors are really strange because "import" is a well-known python command, and that our problem is because we have copied it in the wrong folder or something like this. Does anyone could help us to get to run it? Thank you! _ MSN Video. http://video.msn.com/?mkt=es-es___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio