Hi Josh,
Thanks for the reply.Is there any sample example you could send me? I
looked at the link it has nothing related to this.
I want the code in python.
Thanks
I have another doubt...
I just looked at tags_demo.cc example.In that code ,it has following lines
const uhd::time_spec_t time_now = usrp_sink->get_time_now();
boost::shared_ptr<tag_source_demo> tag_source =
boost::make_shared<tag_source_demo>(
time_now.get_full_secs() + 1, time_now.get_frac_secs(), //time now
+ 1 second
samp_rate, idle_dur, burst_dur
);
to get time.
1. Here TIME_NOW is mother board time or something else?
2. What should i do if i have to get time in nanoseconds?
3.Is there any option to do it in python?
Thanks.
On Fri, Mar 8, 2013 at 11:42 AM, Josh Blum <[email protected]> wrote:
>
>
> On 03/07/2013 06:38 PM, john jade wrote:
> > Hi,
> >
> > I am using 2 USRPN210 devices one for transmitting and one for receiving
> > and relaying it back to sender. I want time at which packet is
> transmitted
> > in both the devices.I am using benchmark_tx and bencmark_rx codes.
> > please help me the code that i have to put...
> >
>
> Actually, it works the other way around, you can control the time a
> packet is transmitted using stream tags.
>
> A few good links about this section:
>
>
> http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNU_Radio_UHD#Using-UHD-Software-with-GNU-Radio
>
> -josh
>
> > Thanks.
> >
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio