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


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to