[Top][All Lists]

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

Re: [Discuss-gnuradio] UHD: simple_usrp and resize buffer

From: Josh Blum
Subject: Re: [Discuss-gnuradio] UHD: simple_usrp and resize buffer
Date: Sat, 26 Jun 2010 23:33:08 -0700

Change the build type in the visual studio IDE from "Debug" to
"Release". The debug build type disables all optimizations and puts in
debug bloat, while the release build type does the opposite. The
performance difference is massive.


On Sat, Jun 19, 2010 at 6:08 AM, Damien S. <address@hidden> wrote:
> Ok. Thank you.
> I have another question. I made a simple program to receive samples from
> USRP2 with UHD. This program is a slight modification of the
> rx_timed_samples example with continuous stream mode and the full buffer
> receive mode enabled.  My problem is that even with an rx_rate of 1MHz
> packets are lost ('S' printed in the console). Am i doing something wrong ?
> (i work under Windows vista 64 bit, proc. Core 2 duo 3 Ghz each core, 8GB of
> RAM).
> Josh Blum-2 wrote:
>> RX samples per packet: 358
>> What your seeing is the print out for the number of samples per packet
>> (udp datagram). This is independent from the recv_buff_size, which is
>> the size of the socket buffer.
>> -Josh
>> On 06/14/2010 02:27 PM, Damien S. wrote:
>>> Hi all,
>>> Since a few days, i'm trying to use UHD with USRP2/WBX under Windows
>>> Vista
>>> Pro 64 bits. The rx_timed_samples example seems to work but it's
>>> impossible
>>> to change the recv_buff_size and is really problematic since its default
>>> size is very small (358 samples). Looking at the usrp_simple class it
>>> appears that the recv_buff_size parameter is not taken into account. Does
>>> somebody know a solution to fix it while continuing to use the
>>> simple_usrp
>>> interface.
>>> Thanks in advance
>>> Damien
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> --
> View this message in context: 
> http://old.nabble.com/UHD%3A-simple_usrp-and-resize-buffer-tp28884928p28933766.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

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