discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] First-timer Question


From: Mr. mollasadra
Subject: RE: [Discuss-gnuradio] First-timer Question
Date: Sat, 24 May 2008 16:39:03 +0000


for the sake of archive.



> From: address@hidden
> To: address@hidden; address@hidden
> Subject: RE: [Discuss-gnuradio] First-timer Question
> Date: Fri, 23 May 2008 00:48:34 +0000
>
> Hi
>
> I will be trying to connect a usrp to a virtual machine this weekend, I
> will let you know what happened.
> I do know from previous experience that the usrp can send data at a
> higher data rate than a virtual machine can handle, so there is a lot of
> over run errors.
> I only use vm's for testing.
> By the way we should communicate via the discussion list, as other
> people may be interested in what we are talking about.
>
> Cameron
> On Thu, 22 May 2008 22:54:31 +0000, "Mr. mollasadra"
> <address@hidden> said:
> > Thanks for the response.
> > I tried what you said on a VMware setup and as you said it worked, which
> > led me to think that my machine is at fault (probably something wrong
> > with the sound card, onto another machine).
> > Now that I have that sorted out, I wanted to connect the USRP broad and
> > run an example program on it (for example the wide FM GUI).
> > As I said in my previous post the only information I could find was on
> > archive.com (a page which seems like it doesn't exist anymore).
> > Lets say right after the installation of the gnuradio-examples I plug in
> > the USRP, what steps do I need to take in order to have a working
> > example?
> > Do you think that old page is complete enough for a walk through?
> >
> > Again I really appreciate your help (as you know the USRP boards and
> > the GNURadio don't come with a manual per say, and there aren't that many
> > howtos online).
> >
> >
> >
> > > From: address@hidden
> > > To: address@hidden; address@hidden
> > > Subject: Re: [Discuss-gnuradio] First-timer Question
> > > Date: Wed, 21 May 2008 23:28:54 +0000
> > >
> > > Hi
> > > I have just installed gnuradio onto Fredora 8.
> > > I installed Fedora 8.
> > > Connected to the internet.
> > > Let Fedora do its automatic updates.
> > > I then ran the following command
> > >
> > > yum install gnuradio
> > >
> > > There were about 10 dependent packages that needed to be installed.
> > >
> > > Once all the downloads were finished I had gnuradio installed.
> > >
> > > The gnuradio examples were in a separate package.
> > >
> > > From memory I think the command to install it was
> > >
> > > yum install gnuradio-examples.
> > >
> > > Notes on my install
> > >
> > > I was running Fedora 8 as a virtual machine in VMware.
> > > I also installed GnuRadio Companion (grc) well worth while.
> > > The install was done without a usrp connected.
> > >
> > > Hope this helps
> > > Cameron
> > > On Wed, 21 May 2008 21:00:22 +0000, "Mr. mollasadra"
> > > <address@hidden> said:
> > > > Since my last question (which was on installing GNU Radio on VM-ware) I
> > > > have abandoned that approach and now am trying it out on an actual
> > > > machine.
> > > > I apologize in advance if this question seems too long, I'm just going to
> > > > walk through everything I did to get to where I am now
> > > > (so in the process it might even turn out to be a resource for other
> > > > first-timers who are having problems)
> > > > I'm using fedora 8 (and through out this the USRP board is not plugged
> > > > in).
> > > >
> > > > So after going through a brand new Fedora 8 installation, to get a
> > > > working GNU Radio I first did this:
> > > > $ yum isntall gnuradio
> > > >
> > > > since I wasn't sure what exactly had happened, I kind of disregarded it
> > > > and continued with this path:
> > > >
> > > > did this:
> > > > $ yum install sdcc
> > > >
> > > > then did these:
> > > > $ yum groupinstall "Engineering and Scientific" "Development Tools"
> > > > $ yum install fftw-devel cppunit-devel wxPython-devel libusb-devel guile
> > > > boost-devel alsa-lib-devel numpy
> > > >
> > > >
> > > > then added these two manually to "/home/[user]/.bashrc":
> > > >
> > > > PYTHONPATH=/usr/local/lib/python2.4/site-packages
> > > > PATH=/usr/libexec/sdcc:$PATH
> > > >
> > > >
> > > > then I restart the computer for the changes to take effect
> > > > then I finish it off by doing theses:
> > > >
> > > > $ svn co http://gnuradio.org/svn/gnuradio/branches/releases/3.1 gnuradio
> > > > $ cd gnuradio
> > > > $ ./bootstrap
> > > > $ ./configure
> > > > $ make
> > > > $ make check
> > > > $ sudo make install
> > > >
> > > >
> > > > all the installation worked as it should.
> > > > BTW: after the ./configure I get this (which seems normal):
> > > >
> > > > The following components were skipped either because you asked not
> > > > to build them or they didn't pass configuration checks:
> > > >
> > > > gr-audio-jack
> > > > gr-audio-osx
> > > > gr-audio-portaudio
> > > > gr-audio-windows
> > > > gr-comedi
> > > >
> > > >
> > > >
> > > > Now for a test I ran this:
> > > > $ cd /gnuradio-examples/python/audio/
> > > > $ python dial_tone.py
> > > >
> > > >
> > > >
> > > >
> > > > Which gives me this error:
> > > >
> > > > audio_alsa_sink[hw:0,0]: set_period_time_near failed: Invalid
> > > > argument
> > > > Traceback (most recent call last):
> > > > File "dial_tone.py", line 55, in <module>
> > > > my_top_block().run()
> > > > File "dial_tone.py", line 48, in __init__
> > > > dst = audio.sink (sample_rate, options.audio_output)
> > > > File "/usr/lib/python2.5/site-packages/gnuradio/audio_alsa.py",
> > > > line 236, in sink
> > > > return _audio_alsa.sink(*args)
> > > > RuntimeError: audio_alsa_sink
> > > >
> > > >
> > > >
> > > > I had seen this error before and the cause of it (as I had found on
> > > > theses forums) was another program (youtube's video player in browser)
> > > > using up the sound device. so by closing down FireFox it worked, but now
> > > > it makes no difference. I know my sound device works (as I was able to
> > > > play a song fine)
> > > > but I'm getting really frustrated (due to the non-ending steps just to
> > > > get GNU Radio running and to some degree my lack of fully understanding
> > > > the linux architecture). Any help would be appreciated.
> > > >
> > > > My next question would be (if I managed to somehow resolve the prev.
> > > > problem) to actually hook up the USRP to the machine, what steps do I
> > > > have to take to ensure the software can communicate with the hardware? I
> > > > found this page:
> > > > http://web.archive.org/web/20061031031439/comsec.com/wiki?UsrpInstall
> > > >
> > > > but does this page still exist somewhere on this website (hopefully with
> > > > updated info.) or if it does not, why not?
> > > >
> > > > Thanks you all.
> > > >
> > > > _________________________________________________________________
> > > > Keep your kids safer online with Windows Live Family Safety.
> > > > http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008
> >
> > _________________________________________________________________
> > Change the world with e-mail. Join the i&#8217;m Initiative from Microsoft.
> > http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld


Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]