On Thu, Jun 7, 2012 at 11:27 AM, Phil <phil_...@bigpond.com> wrote: > On 07/06/12 19:13, Alexandru Csete wrote: >> >> On Thu, Jun 7, 2012 at 10:46 AM, Phil<phil_...@bigpond.com> wrote: >>> >>> Another question I'm afraid, >>> >>> I've resolved, I think, my previous question about the module path. The >>> module rtlsdr does not exist on my system even though I have the rtlsdr >>> library installed. So, I presume that the module has to be created >>> somehow. >>> >>> Moving on, I'm trying to get multimode.py going and again I've run up >>> against a missing module. This time it's osmosdr and again I have osmosdr >>> installed but not the module osmssdr.py. >>> >>> So my question is, how do I create the module osmosdr so that I can >>> continue >>> my way through multimode.py? >> >> You have to install gr-osmosdr to get proper RTL-SDR support in GNU Radio. >> Osmosdr is for the Osmo SDR hardware, gr-osmosdr is the wrapper into GNU >> Radio: >> http://cgit.osmocom.org/cgit/gr-osmosdr/ >> > > Thanks for your reply Alex, > > I have both rtlsdr and osmsdr installed. The applications that I'm trying to > get going both need either rtlsdr and or osmosdr python modules which aren't > on my system. So I guessed that I have to build the modules, somehow.
What exactly do you mean by "osmosdr" ? There is a package called osmo-sdr which is for the Osmo SDR hardware. You do not need that if you want to use RTL2832U-based dongles. Then there is gr-osmosdr (note the gr- prefix), which provides access to RTL2832U-based dongles in GNU Radio. If you install this you will have both C++ library, python module and gnuradio-companion block (assuming that you have them in your PYTHONPATH etc). On my system it is installed in /opt/gr-osmosdr/lib/python2.7/dist-packages/ because I used prefix /opt/gr-osmosdr during compilation (default prefix is usually /usr/local) So, which one have you installed, osmo-sdr or gr-osmosdr? >> I'm wondering why you want to work in python instead of >> gnuradio-companion? > > I have gnuradio-companion installed but that looks even more unfathomable > than trying to get a python application going. > > Do you have a suggestion on how I might get something going using > gnuradio-companion? As far as I could see, the python application you referred to was generated from a gnuradio-companion file called multimode.grc: https://www.cgran.org/browser/projects/multimode/trunk/ so you can just open up that file in gnuradio-companion. Alex _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio