Questions about using UHD with USRP2

p { margin-bottom: 0.08in; }

First, I am not quite sure if it is a
good idea to use UHD with USRP2 right now.

I have the UHD driver installed and the
USRP2 board detected.

What I need to do first is to write a
basic program to collect some data from the USRP2 board by C++.

But I can not find any introduction
file or example to explain what I should do.

For example, which directory I should
include in the Makefile?

Which class I should use? What is the
relationship or these classes?

How can I set the setting of the
daughter board?

Thanks!

For example, which directory I should
include in the Makefile?

Which class I should use? What is the
relationship or these classes?

How can I set the setting of the
daughter board?

Take a look at the single USRP API:

http://www.ettus.com/uhd_docs/manual/html/coding.html#high-level-the-single-usrp

http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1usrp_1_1single__usrp.html

Also look at the examples that come with UHD:

http://code.ettus.com/redmine/ettus/projects/uhd/repository/revisions/master/show/host/examples

-josh

On 11/18/2010 11:37 PM, peng senl wrote:

But I can not find any introduction file or example to explain what I


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

The Doxygen docs for the API for UHD start here:

http://www.ettus.com/uhd_docs/doxygen/html/index.html

Do you really need C++? Is there something about the Python generated
by GRC that won’t
let you do what you want to do?

Keep in mind that ALL the performance-critical components of Gnu Radio
are already
implemented in C++ – all the DSP blocks, data-movement, etc, etc.
There’s essentially
zero performance penalty for coding in Python, or structuring your
flow-graph using
GRC. The Python code handles flow-graph “management”, but flow-graph
execution happens
within a compiled C++ environment.