> When I try to run some of this example code I get the error message > "ImportError: cannot import name usrp". > > Is this because the board is not actually setup with the python links to > UHD when you get it? >
The gr-uhd blocks + python and grc wrappers are all installed in the image shipped with usrp-e100. The app you ran was either written for the old usrp1 driver, or it had imports/support for the old driver. If thats the case, you may get it to work by commenting out the import gnuradio/usrp line. > Do I have to go through the whole p.i.t.a. process of recompiling UHD > and gnuradio on the E100 or are these available from some secret > repository so I can use opkg? Huge learning curve at present not helped > at all by the zero information that comes in the $2000 box! > You dont have to recompile. Many people do this to get the latest and greatest gnuradio/uhd branches built. The opkg repos will always lag behind by nature. On compiling native: it may be slow but all the tools are there, and same instructions apply as for x86. Its something you would want to let run overnight (in the case of gnuradio). This may be of some help: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ > Also, I know grc won't fully run because there is no wxpython library on > the E100 but am I correct in assuming I should be able to still use grc > to compile my designs to python files and then run those results? > I believe that the wx did not cross compile correctly. But it can be natively built. The gnuradio stuff that uses wx is all python anyhow. If you don't build the wx support, you can still use grc to generate non-gui flow graphs, and use a host pc to view the data. And of course, you can always do handwritten python or c++ apps w/ gnuradio. FWIW, I am working on support for the qtgui sinks in grc. So qtgui sinks, pyqt/pyqwt widgets. Qt is know to be a lot easier to build cross so ive heard. And its good to have another option. Hope that helps! -Josh _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio