Hi,
I am trying to connect two B210 in my laptop to use four RX channels. My
problem is that I can not create the two usrp objects with multi_usrp
function. I am using the following code:

std::string args1, args2;

args1 = "serial=XXXXXX;
args2 = "serial=YYYYYY";

*((uhd::usrp::multi_usrp::sptr*) usrp1) =
uhd::usrp::multi_usrp::make(args1);
*((uhd::usrp::multi_usrp::sptr*) usrp2) =
uhd::usrp::multi_usrp::make(args2);

Where XXXXXX and YYYYYY are the serial numbers of my usrps. Other option I
tried was to use a multiple string with both serial numbers:

std::string args1, args2, type, ref;

args = "serial=XXXXXX","serial=YYYYYY";
*((uhd::usrp::multi_usrp::sptr*) usrp) = uhd::usrp::multi_usrp::make(args);

In both cases I obtain a "Segment Fault" error. Could you help me?

Paula


-- 

[image: logo_170x100px.png] <http://www.gradiant.org/>



Paula Taboada Troitiño
Investigadora - Desarrolladora | Área de Comunicaciones Avanzadas
Researcher - Developer | Advanced Communications Department



Ph. (+34) 986 120 430  Ext. 3016

ptabo...@gradiant.org | www.gradiant.org

[image: Iconos Redes Sociales GRD Firma email-01]
<https://www.facebook.com/GradiantNews/>  [image: Iconos Redes Sociales GRD
Firma email-02] <https://twitter.com/Gradiant>  [image: Iconos Redes
Sociales GRD Firma email-03] <https://www.linkedin.com/company-beta/769728>
 [image: Iconos Redes Sociales GRD Firma email-04]
<https://www.youtube.com/user/ComunicacionGRD>
Take care of the environment. Try not to print this email.
The information contained in this email message may be confidential
information, and may also be the subject of legal professional privilege.
If you are not the intended recipient, any use, interference with,
disclosure or copying of this material is unauthorized and prohibited.
Please inform us immediately and destroy the email. Thank you for your
cooperation.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to