[Discuss-gnuradio] Fwd:MIMO cable synchronization accuracy

2013-12-03 Thread Harry Zhang
Hi everyone, To synchronize two USRPs, I connect them and add the following code in the slave USRP. --- set_clock_source( 'MIMO',0); set_time_source('MIMO',0); --- I have got that the length of MIMO cable is fixed because the cable delay is co

Re: [Discuss-gnuradio] Time Granularity of USRP N2XX

2013-11-26 Thread Harry Zhang
USRP2 arch, if I remember correctly. On 26.11.2013 13:04, Harry Zhang wrote: Hi, Since we can get receive time of rx_stream's first sample via rx tags, I have two questions about the time granularity. Given the internal clock is 10Mhz, is the time granularity 0.1us? The fractional second is s

[Discuss-gnuradio] Time Granularity of USRP N2XX

2013-11-26 Thread Harry Zhang
Hi, Since we can get receive time of rx_stream's first sample via rx tags, I have two questions about the time granularity. Given the internal clock is 10Mhz, is the time granularity 0.1us? The fractional second is stored double type. Does it mean the last digits of the fractional sec are invalid?

Re: [Discuss-gnuradio] How to get multipe rx_time tags while receiving continuously

2013-11-04 Thread Harry Zhang
de B and C, right? You should not observe anything like that if you do not have dropped packets. Are you using USRP2's? Miklos On Sat, Nov 2, 2013 at 3:05 AM, Harry Zhang wrote: Tom, Thanks for your reply. I got a weird problem when using rx_time tags. I have three nodes, node A s

Re: [Discuss-gnuradio] How to get multipe rx_time tags while receiving continuously

2013-11-01 Thread Harry Zhang
me some advice. Thank you in advance. Harry 2013/11/1 22:26, Tom Rondeau wrote: On Thu, Oct 31, 2013 at 3:46 AM, Harry Zhang wrote: Hi, As far as I know rx_time tag is associated with the first sample of a receive stream. If I wanna get multiple rx_time tags while receiving continuous data, sh

[Discuss-gnuradio] How to get multipe rx_time tags while receiving continuously

2013-10-31 Thread Harry Zhang
Hi, As far as I know rx_time tag is associated with the first sample of a receive stream. If I wanna get multiple rx_time tags while receiving continuous data, should I stop and issue a new stream again and again for getting more rx_time tags. Thank you. ___

Re: [Discuss-gnuradio] Time synchronization between two USRPs without external signal

2013-10-25 Thread Harry Zhang
lem? Thanks in advance. Best Regard, Harry 2013/10/16 20:20, Miklos Maroti wrote: Hi Harry, On Sat, Oct 12, 2013 at 3:12 PM, Harry Zhang wrote: Dear Miklos, Thank you for your inspiring reply. 1.I do think this method sounds like a receiver-receiver sync while sync message'

Re: [Discuss-gnuradio] Time synchronization between two USRPs without external signal

2013-10-12 Thread Harry Zhang
gets a little trickier, and I think there is some bug in the FPGA hardware to cause very rarely one sample shift between the TX and RX chain. I am not absolutely sure about this, but I could not explain something in any other way. Best, Miklos On Sat, Oct 12, 2013 at 10:10 AM, Harry Zhang wrote:

Re: [Discuss-gnuradio] Time synchronization between two USRPs without external signal

2013-10-12 Thread Harry Zhang
tx and rx chains of a single usrp. Miklos On Thu, Oct 10, 2013 at 3:51 PM, Harry Zhang wrote: Hi, I have implemented time synchronization between two USRPs without GPSDO, MIMO cable or referring to computer's time.It's a sender-receiver method based on message exchange. It will be incl

[Discuss-gnuradio] Time synchronization between two USRPs without external signal

2013-10-10 Thread Harry Zhang
Hi, I have implemented time synchronization between two USRPs without GPSDO, MIMO cable or referring to computer's time.It's a sender-receiver method based on message exchange. It will be included in my next paper soon. I use the tx_time and tx_sob tag to transmit the message at the planned time. W

Re: [Discuss-gnuradio] Sample receive time in benchmark

2013-09-19 Thread Harry Zhang
于 2013/9/19 21:56, Tom Rondeau 写道: On Wed, Sep 18, 2013 at 11:32 PM, Harry Zhang wrote: Hi, My last question (http://lists.gnu.org/archive/html/discuss-gnuradio/2013-09/msg00196.html) seems no answer.But I get another question. I wanna know the actual receive time of a sample. If I get the rx

[Discuss-gnuradio] Sample receive time in benchmark

2013-09-18 Thread Harry Zhang
Hi, My last question (http://lists.gnu.org/archive/html/discuss-gnuradio/2013-09/msg00196.html) seems no answer.But I get another question. I wanna know the actual receive time of a sample. If I get the rx tag(sample count 100), I can calculate the any sample's receive time. For example,sample 1600

[Discuss-gnuradio] tx_tag's time VS. USRP time

2013-09-16 Thread Harry Zhang
Hi everyone, I wanna send data at desired time with USRP N210. The codes look like these - int num=1; pmt::pmt_t key = pmt::pmt_string_to_symbol("sob"); uint64_t offset = this->nitems_written(0); pmt::pmt_t value = pmt::pmt_make_tuple( pmt

[Discuss-gnuradio] Can not get rx time tags

2013-09-03 Thread Harry Zhang
Hi, I'm trying to get rx time tags in narrowband Benchmark_tx/rx with a modified digital_correlate_access_code.cc. But the "get_tags_in_range(rx_time_tags,0,this->nitems_read(0)+i,this->nitems_read(0)+i+1,pmt::pmt_string_to_symbol("rx_time"))" method gets no tag in rx_time_tags while the communica

Re: [Discuss-gnuradio] Using UHD control block

2013-08-02 Thread Harry Zhang
Dear Josh, I have checked the cmake output and gr_uhd is within the enabled components. I'm using Ubuntu12.04 and boost 1.48. 2013/8/3 11:39, Josh Blum wrote: On 08/02/2013 06:32 AM, Marcus Müller wrote: Hi Harry Zhang, UHD in general not related to GRAS. I don't know ei

[Discuss-gnuradio] Using UHD control block

2013-08-01 Thread Harry Zhang
Hi, I install the GRAS. But I can't find the UHD status block or UHD control block in GRC. How can I use them? Is there any example about using UHD control block? Thanks in advance. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists

Re: [Discuss-gnuradio] Gnuradio3.7 make error

2013-07-30 Thread Harry Zhang
, I have tried the method in the URL but it does not work. The error remains. 2013/7/30 10:58, Nathan West wrote: On Mon, Jul 29, 2013 at 10:44 PM, Harry Zhang wrote: Hi, I'm using Ubuntu 12.04 and libboost1.46. I got the following errors when I make the project. libboost1.

[Discuss-gnuradio] Gnuradio3.7 make error

2013-07-29 Thread Harry Zhang
Hi, I'm using Ubuntu 12.04 and libboost1.46. I got the following errors when I make the project. [ 85%] Building CXX object gr-uhd/examples/c++/CMakeFiles/tags_demo.dir/tags_demo.cc.o Linking CXX executable tags_demo /usr/bin/ld: warning: libboost_date_time.so.1.40.0, needed by /usr/loca