USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

USRP get vectors of samples with time delay

Hi all,

 

I want to caputre NSAMPLES size vector of samples from my USRP for M times with some time delay between the vectors. And save them to file/s.

Using "uhd_rx_cfile" command line M times (by for loop in bash script) takes too much time, specially because of the init time (about 6 secs) each time I run it. One idea was to make one long record (M=1 & NSAMPLES=very long) but then some overflows (OOO..) occurred.. Seems like my hardware configuration (PC+USRP) can support record of NSAMPLES (few miliseconds) with some "rest time" until the next vector but can't get a lot of continuous data from the USRP interface.

So it seems like the right solution will be custom made python/c code which for one time init the USRP and the take NSAMPLES sample vector, sleep/wait for some miliseconds and then repeat (for M times) - without full init.

I've no specific requirements about the time delay between the vectors - as long as it far away smaller than 6 secs.

 

The shortest/easiest way will be appreciated.

 

MOerdi

 

0 Kudos
Message 1 of 1
(1,935 Views)