Anis,
The file you referenced contains no main function for execution: it is a header file that defines the functions contained in the multi_usrp class. Additionally, I believe that code is used for multi_usrp.py (Python script, not C++). I have never used the Python scripts: my recording needs are simple enough that I can get away with modifying "rx_samples_to_file.cpp"
The source code for the C++ examples is located in "uhd/host/examples" but the compiled executables are in "uhd/host/build/examples." The following will show you a list of parameters that are available for "rx_samples_to_file":
./uhd/host/build/examples/rx_samples_to_file --help
-Ryan
On Tue, Jul 24, 2012 at 8:24 AM, Abdelrahman Anis <abdelrahman_anis@yahoo.com> wrote:
Hi Ryan & Nathan,
Thanks for the information supported. We will use four USRP210 in our antenna array. Each USRP will use Individual host, Because we need to receive 20 MS/s from each USRP.
Of Course, we have external unit to supply PPS and clock for USRPs.
How can I run the UHD examples in Ubuntu operating system? Like that one: http://files.ettus.com/uhd_docs/doxygen/html/multi__usrp_8hpp_source.html
Thanks in advance.
Anis
________________________________
From: Nathan West <nathan.west@okstate.edu>
To: Ryan Wolfarth <wolfarra@muohio.edu>
Cc: Abdelrahman Anis <abdelrahman_anis@yahoo.com>; "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Monday, July 23, 2012 3:32 PM
Subject: Re: [Discuss-gnuradio] Where can I write the Coding of C++ in the GNU radio
Anis,
You may also find the tutorials useful. Specifically the "How to write a signal processing block". There are two of these that I know about.
Look at "extending gnu radio," http://gnuradio.org/redmine/projects/gnuradio/wiki/HowToUse#The-C-domain-Extending-GNU-Radio
Look at Asier Alonso's guides, http://gnuradio.org/redmine/projects/gnuradio/wiki/Tutorials
Hopefully the three links you have will get you going. If nothing else you've got hours of reading and example material :-)
-nathan
On Mon, Jul 23, 2012 at 9:20 AM, Ryan Wolfarth <wolfarra@muohio.edu> wrote:
Hi Anis,
>
>I think a good starting would be to modify "rx_samples_to_file.cpp" or "tx_samples_to_file.cpp.". The files are located in uhd/host/examples.
>
>How many USRPs will you use? Will they use the same host machine? Time synchronization is possible using the PPS input on a USRP2 or N2xx. My group uses the PPS and 10MHz oscillator output from a GPS receiver for time sync. Check out the following for more information on synchronzing device time: http://files.ettus.com/uhd_docs/manual/html/sync.html
>
>Hope this helps!Ryan
>
>
>On Mon, Jul 23, 2012 at 7:40 AM, Abdelrahman Anis <abdelrahman_anis@yahoo.com> wrote:
>
>Hi all,
>>
>>Sorry if this question is repeated, I am still a beginner in GNU radio, I couldn't find the answer after searching the Web.
>>
>>Where I can write the Coding of C++ in the GNU radio? and How can access these Installed C++ blocks in GNU radio ?
>>I want it to run a project of Parallel Processing using C++ to operate multiple USRPs with 20 MS/s each at the same time synchronized with each others.
>>I am using Ubuntu 10.04 LTS as operating system.
>>Thanks in advance.
>>
>>Anis
>>
>>_______________________________________________
>>Discuss-gnuradio mailing list
>>Discuss-gnuradio@gnu.org
>>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>_______________________________________________
>Discuss-gnuradio mailing list
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
No comments:
Post a Comment