Hello everyone,

I'm trying to capture a user specified number of samples from 3 USRP
X300's. To do this I found the finite_acquisition_v function. The problem
is it behaves very irregularly, so much so that I can't figure out the
right way to use it.

It seems that I have to call it once with a big number as a prerequisite.
It always returns an empty type this first call.

After that first call I have to call it with a sample number request larger
than ~1000 to get a none empty tuple. However, the number of samples is
less than 1000, for some reason it is 728....

If I call it again a third time, I am getting an empty tuple again.

I'm wondering if someone can explain the proper way to use this for me. In
theory it does exactly what I need to do in one simple function call.

Example code:

    junk = uhd_usrp_source_0.finite_acquisition_v(1000) # first call
returns nothing
    data1 = uhd_usrp_source_0.finite_acquisition_v(1000) # returns 728
samples
    data2 = uhd_usrp_source_0.finite_acquisition_v(1000) # returns nothing

Thanks,

Rich

Reply via email to