[USRP-users] matlab problems with b210

john liu johncorad1988 at gmail.com
Fri Oct 23 02:23:51 EDT 2015


thank you very much.
best wishes
John

On Mon, Oct 19, 2015 at 9:20 PM, Ethem Sozer <Ethem.Sozer at mathworks.com>
wrote:

> Hi John,
>
> If you are on Windows, please try the following:
>
>
>
> http://files.ettus.com/manual/page_transport.html
>
>
>
> Under “Windows specific notes”.
>
>
>
> You can also run the following from MATLAB command windows to test your
> radio’s connection to the host computer:
>
>
>
> call_uhd_app('b2xx_fx3_utils','-s')
>
>
>
> Regards,
>
> Ethem
>
>
>
> *From:* USRP-users [mailto:usrp-users-bounces at lists.ettus.com] *On Behalf
> Of *Carel Combrink via USRP-users
> *Sent:* Monday, October 19, 2015 5:41 AM
> *To:* john liu <johncorad1988 at gmail.com>
> *Cc:* usrp-users <usrp-users at lists.ettus.com>
> *Subject:* Re: [USRP-users] matlab problems with b210
>
>
>
> Hi John,
>
>
>
> I do not have experience with interfacing with the hardware from MATLAB
> but for that error you need to increase the amount of read and write
> buffers on your OS.
>
>
>
> I am assuming you are running Linux, if now then you need to find out how
> this is done in Windows.
>
>
>
> On Linux (Ubuntu):
>
> Edit the file /etc/sysctl.conf
> Add something in the line of the following:
>
> net.core.rmem_max=128000000
>
> net.core.wmem_max=128000000
>
> Then restart the computer
>
>
>
> Just check what is acceptable for your system, that is what I have set on
> mine. Perhaps make it 2752000 as suggested by the error.
>
>
>
> Regards,
>
>
>
> On Mon, Oct 19, 2015 at 10:58 AM, john liu via USRP-users <
> usrp-users at lists.ettus.com> wrote:
>
>     Dear all,
>
>
>
>         when we  connect to the B210 with matlab,  the following errors
> often happened.
>
>
>
> Could not execute UHD driver command in 'receiveData_c':
>
> libmwusrp_uhd_capi:receiveData:ErrWrongRecvSize
>
> Did not receive expected number of samples in a burst reception.
>
> This is likely due to overflow within the burst.
>
> Use 'sysctl' to update the OS socket buffer size.
>
> Expected: 2752000
>
> Found : 94120
>
>
>
> I did't know wether these errors is related  to the transmission of the
> usb3.0 speed.
>
> thank you for your help
>
> best regards
>
> John
>
>
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20151023/532af482/attachment-0002.html>


More information about the USRP-users mailing list