Re: [Discuss-gnuradio] Using PPS to trigger received data storage in Python

2011-11-28 Thread Yan Nie
Thank you so much for your suggestions, Josh. Your suggestion on solving the problem I met is absolutely creative. Thank you so much! I have more further detailed questions related: get_time_last_pps gives a timespec representing the last pps, while how can I  obtain the stream tags from the

Re: [Discuss-gnuradio] Using PPS to trigger received data storage in Python

2011-11-25 Thread Josh Blum
On 11/25/2011 05:51 PM, Yan Nie wrote: > I really appreciate your reply, Josh. > > I am using a GPS as the input for PPS of my receiver based on USRP > N200 in order to synchronize with a transmitter which uses GPS pulse > to synchronize with other devices. This transmitter detects the NEG > edg

Re: [Discuss-gnuradio] Using PPS to trigger received data storage in Python

2011-11-25 Thread Yan Nie
I really appreciate your reply, Josh. I am using a GPS as the input for PPS of my receiver based on USRP N200 in order to synchronize with a transmitter which uses GPS pulse to synchronize with other devices. This transmitter detects the NEG edge of GPS pulse, then 2ms later, starts to transmit

Re: [Discuss-gnuradio] Using PPS to trigger received data storage in Python

2011-11-23 Thread Josh Blum
When you say PPS, do you mean "pulse per second" or are you trying to use the PPS input as a generic triggering system? If the second case, you can do this, but my advice will be different. > 1. I am wondering how to fill meta-data in Python if device.recv() is > not swigged? I need to use the PP

[Discuss-gnuradio] Using PPS to trigger received data storage in Python

2011-11-23 Thread Yan Nie
 Dear all, I used USRP N200 with LFRX +UHD to design a receiver, which works well to continuously receive data. I am trying to control the received data streaming using PPS to trigger received data storing, which is storing the received data into a data file for 1ms after receiver detecting the