discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USRP2 Diagnostics in GRC


From: Josh Blum
Subject: Re: [Discuss-gnuradio] USRP2 Diagnostics in GRC
Date: Mon, 05 Apr 2010 11:39:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre

aha, you have fedora...

1) build guide: http://gnuradio.org/redmine/wiki/gnuradio/BuildGuide

2) fedora specific: http://gnuradio.org/redmine/wiki/gnuradio/FedoraInstall

3) yum install: http://gnuradio.org/redmine/wiki/gnuradio/FedoraInstall#Gnuradio-from-tarball

bah bum!

-Josh

On 04/05/2010 11:27 AM, Umair Naeem wrote:
I tried installing from the tarball that i downloaded from the link given below 
by you but when run ./configure , it says

Checking for ...
... ... ...
Checking for Cppunit - version>= 1.9.14... configure: error: GNU Radio requires 
cppunit.  Stop

and when i run 'yum install cppunit', it says,

address@hidden gnuradio-3.2.2]# yum install cppunit
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package cppunit-1.12.1-3.fc12.x86_64 already installed and latest version
Nothing to do

It seems that cppunit is installed but still I come across error of not having 
cppunit. What should I do now. I am running these commands in root.

Regards,
Umair Naeem


Message: 7
Date: Thu, 01 Apr 2010 16:08:18 -0700
From: Josh Blum<address@hidden>
Subject: Re: [Discuss-gnuradio] USRP2 Diagnostics in GRC
To: address@hidden
Message-ID:<address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

  From what I understand, GRC is bundled with the gnuradio 3.2 release.
So you shouldnt need to install this "GRC version 0.7" package. Use the
grc that comes bundled with gnuradio, anything else will have problems
working.

If your package manager cannot give you what you need, I recommend just
installing the gnuradio from source code
http://gnuradio.org/redmine/wiki/gnuradio/BuildGuide

-Josh

On 04/01/2010 03:19 PM, Umair Naeem wrote:
I am using GRC version 0.7. I installed from Add/Remove Programs. I have 
Gnuradio 3.2 as shown in Add/Remove Programs. How can i upgrade my GNU/GRC 
installation to work with USRP2?

Regards,
Umair Naeem
MSc Communication Engineering
Chalmers University ot Technology, Sweden.
________________________________________
From: address@hidden address@hidden on behalf of Josh Blum address@hidden
Sent: Wednesday, March 31, 2010 5:08 PM
To: address@hidden
Subject: Re: [Discuss-gnuradio] USRP2 Diagnostics in GRC

Wow, how did you find this ancient version of grc?

Anyway, here is the note from my website:

Please use the grc that is bundled with the current gnuradio master or
the gnuradio 3.2 release. It has a years worth of work and improvements
compared to the last versioned release of grc (0.70). In addition, the
grc bundled with gnuradio is guaranteed to evolve with gnuradio; whereas
the older non-bundled grc will stagnate and cease to be compatible with
newer gnuradio releases.

and wiki page

http://gnuradio.org/redmine/wiki/gnuradio/GNURadioCompanion

-Josh

On 03/31/2010 07:19 AM, Umair Naeem wrote:
Hi,

I have a problem concerning USRP2. I am using GRC to make flow graphs but I can 
not find USRP2 when I use USRP source block. When I run a simple program with 
only two blocks (USRP source and Scope Sink) I get  following error:

Verbose:
usrp: failed to find usrp[0]
Traceback (most recent call last):
     File "/usr/share/grc/src/ExecFlowGraphGUI.py", line 231, in OnInit
       self.SetTopWindow(FlowGraphFrame(self.flow_graph_file_path))#first 
argument is the flow graph
     File "/usr/share/grc/src/ExecFlowGraphGUI.py", line 159, in __init__
       FlowGraphBuilder.__init__(self, file_path)
     File "/usr/share/grc/src/ExecFlowGraph.py", line 50, in __init__
       self._parse_nested_data(ParseXML.from_xml(ParseXML.from_file(file_path)))
     File "/usr/share/grc/src/ExecFlowGraph.py", line 145, in _parse_nested_data
       signal_blocks_dict[signal_block.get_id()] = 
runnable_signal_block(*data_type_params)
     File "/usr/share/grc/src/SignalBlockDefs/USRP.py", line 182, in make
       u = type.parse()[0](number, nchan=1)
     File "/usr/lib/python2.6/site-packages/gnuradio/usrp/usrp_swig.py", line 
1699, in source_c
       return _usrp_swig.source_c(*args, **kwargs)
RuntimeError: can't open usrp


I also tried using USRP Diagnostics in Help menu but it also does nt detect.
I run find_usrps through terminal and it works like,
00:50:c2:85:34:6f hw_rev = 0x0400


Regards,
Umair Naeem
MSc Communication Engineering
Chalmers University ot Technology, Sweden.


_______________________________________________


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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