discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Question on rx_streaming_samples/libursp2


From: Per Zetterberg
Subject: [Discuss-gnuradio] Question on rx_streaming_samples/libursp2
Date: Fri, 12 Feb 2010 19:31:57 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

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 ?

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

BR/
Per





reply via email to

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