discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Question on rx_streaming_samples/libursp2


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Question on rx_streaming_samples/libursp2
Date: Fri, 12 Feb 2010 15:56:24 -0800
User-agent: Mutt/1.5.20 (2009-08-17)

On Fri, Feb 12, 2010 at 07:31:57PM +0100, Per Zetterberg wrote:
> Hi,
> 
> (I am using the VRT code but I don't think it matters for the
> questions below)
> 
> In rx_streaming_samples.cc one finds the following code:
> 
> 
> while (!signaled &&
>         !handler->has_errored_p() &&
>         !handler->has_finished_p()) {
>    bool ok = u2->rx_samples(handler.get());
>    if (!ok){
>      fprintf(stderr, "u2->rx_samples failed\n");
>      return 1;
>    }
>  }
> 
> Does every call of u2->rx_samples(handler.get()) result in one call
> of e.g. file_writer_32fc ?

No.  It could be called many times.

> Is there any way of receiving samples from the usrp2 that doesn't
> involve calling "start_rx_streaming" ?

Somebody's got to tell it to start streaming.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]