[Discuss-gnuradio] what things does UHD do?

2012-09-07 Thread baobaonanpo D
Hello everyone here, I find if I do not use UHD, for example, when I use gnuradio-3.3.0 to transmit files, the "ok=flase" when I set the bitrate greater than 600K or less than 300K. However, when I install UHD and use gnuradio-3.5.0, I find I can use the bitrate from 1M to 5M, why the uhd can lea

Re: [Discuss-gnuradio] How to instantiate uhd usrp sink in C++

2012-05-16 Thread baobaonanpo D
Hi, Josh, Thanks for your help very much! I use the file sink in C++ to verify the flow graph, as follows: tb = gr_make_top_block("send"); file_sink = gr_make_file_sink(sizeof(gr_complex), filenamein.c_str()); tb->connect(amp,0, file_sink,0); it run fine. but if I use the usrp sink, as follow

Re: [Discuss-gnuradio] How to instantiate uhd usrp sink in C++

2012-05-10 Thread baobaonanpo D
Posted by Josh Blum (Guest) on 2011-05-14 00:40 [image: (Received via mailing list)] >On 05/13/2011 03:33 PM, r...@ee.ucla.edu wrote: I am connecting the >uhd_usrp_sink to a sig_source_c. Here is the troublesome>> code that I use to >setup the uhd_usrp_sink:>> uhd::device_addr_t addr; //I a

Re: [Discuss-gnuradio] Question about USRP2 Tx procedure

2012-04-25 Thread baobaonanpo D
>> 3. Considering that we only need 650ms, no matter how long we >> send(like 10s or more). We guess there is a fixed size cache in the >> usrp and it send the cached data at a precise-controlled time, but I >> can not persuade myself. >> Can anyone interpret the strange phenomenon? Any suggest

[Discuss-gnuradio] A interface between UHD source code function send() and benchmark?

2012-03-30 Thread baobaonanpo D
Hi, Is there anyone who use the uhd source code like tx_burst.cpp, use the function send(buffs, samples_to_send, md, timeout) to send data, I use the tx_burst.cpp and rx_samples_to_file.cpp to transmit and receive data, but the received data is without rules. I think the data must be deal with

Re: [Discuss-gnuradio] change gnuradio to pure c++ code?

2012-03-19 Thread baobaonanpo D
Hi, Everyone here, I want to change the benchmark to pure C++ code and face difficulty, that is, in rx: I connect all the C++ API and read a file which product by benchmark_tx.py as file_source, but it does product any sink file. In the benchmark_rx.py, how it can know the USRP has received dat

[Discuss-gnuradio] change gnuradio to pure c++ code?

2012-03-15 Thread baobaonanpo D
Hi, Is there anyone has changed gnuradio framework files to pure c++ code ,removed the python code, or has interested in doing this, I do work recently but encounter difficulties, can I so lucky to reference someone's information or get a hand from you? Thanks very much ! __

[Discuss-gnuradio] Puzzle about pure visual functions in UHD

2011-11-21 Thread baobaonanpo D
Dear madam/sir, It is my great honor to appreciate your works about GNURadio and USRP. When I try to use the UHD driver,when I read the source code I have puzzle about the use of the pure visual function for examples send(), virtual size_t send( const send_buffs_type &buffs,