Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Adeel Anwar
Josh, >I didnt add every possible setting. But I am happy to add more on >request! I'm gathering that someone would like to make a configuration >and control block that could perform the synchronization tasks w/ a >GPSDO or some external clock and time source. I think it will also be very useful

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Josh Blum
On 06/16/2013 10:44 PM, Josh Blum wrote: > > > On 06/16/2013 02:13 PM, Adeel Anwar wrote: >>> so i checked the new grextras wiki it has uhd_control block i guess that >> can be used for this job. >> uhd_control block supports only a subset of usrp-functions (exposed >> through gr-uhd) e.g. "se

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Josh Blum
On 06/16/2013 02:13 PM, Adeel Anwar wrote: >> so i checked the new grextras wiki it has uhd_control block i guess that > can be used for this job. > uhd_control block supports only a subset of usrp-functions (exposed > through gr-uhd) e.g. "set_command_time", set/get_gain/freq etc BUT > currentl

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Jay Prakash
I went through the stream tagging pdf. The tags from source has time,freq and rate. I am interested in insuring that transmitter sets a particular frequency of transmission ie Tx_Next_freq and time at which the transmitter starts sending data packets at an instance. The set_command_time as you s

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread John Malsbury
"how can i make the usrp send its time when configured for synchronization?" I might be misunderstanding the question, but here's an answer. The USRP source outputs stream tags on the first sample when streaming. The three tags are 1) rx_time 2) rx_rate 3) frequency. Using (1) and (2), you sho

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Jay Prakash
I think i can use set_command_time (which i guess set the next time of transmission/command?). how can i make the usrp send its time when configured for synchronization? Jay Prakash Senior Undergraduate Electronics Engineering IIT (BHU) VARANASI +91-9559475258 http://about.me/jay.prakash/ http://

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread John Malsbury
"XML_RPC block in the new gr-extras" XML_RPC would have been subject to the same limitations. It could only call set_time_next_pps if set_time_next_pps was in the uhd_sink/source blocks. Maybe you can update them to include the function. Let me ask a more fundamental questions - why do you want

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Jay Prakash
so do we have any other block to do that. I did'nt find XML_RPC block in the new gr-extras Jay Prakash Senior Undergraduate Electronics Engineering IIT (BHU) VARANASI +91-9559475258 http://about.me/jay.prakash/ http://www.linkedin.com/profile/view?id=91120191&trk=hb_tab_pro_top On Sun, Jun 1

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Adeel Anwar
> so i checked the new grextras wiki it has uhd_control block i guess that can be used for this job. uhd_control block supports only a subset of usrp-functions (exposed through gr-uhd) e.g. "set_command_time", set/get_gain/freq etc BUT currently it doesn't support "set_time_now()" https://github.c

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Jay Prakash
thanks for the clarification so i checked the new grextras wiki it has uhd_control block i guess that can be used for this job. Jay Prakash Senior Undergraduate Electronics Engineering IIT (BHU) VARANASI +91-9559475258 http://about.me/jay.prakash/ http://www.linkedin.com/profile/view?id=91120191&

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread John Malsbury
The GPSDO can provide an "internal" 10 MHz/1 PPS signal. I'm not sure if that's what you meant or not: https://www.ettus.com/product/details/GPSDO-KIT AFIAK, you cannot set the time of a USRP with a message. You may be able to use the XML_RPC block in gr-extras to call the function if it is expos