Sorry, don't take account my last message on this subject.
I made an error constructing the subdev spec string.

Sorry and thanks.

Matis


--
Hi usrp users,

Using an older release of UHD, I was able to build 2 rx streams (in order to 
process data of
each stream in a separate process) using this kind of code:

usrp->set_rx_subdev_spec((std::string)"A:0 A:1");

uhd::stream_args_t stream_args("sc16",wire_format);
stream_args.channels.push_back(0);
rx_stream0 = usrp->get_rx_stream(stream_args);

stream_args = uhd::stream_args_t("sc16",wire_format);
stream_args.channels.push_back(1);
rx_stream1 = usrp->get_rx_stream(stream_args);

...
// launch two threads which will do rx_stream->recv
...

Today, using UHD 3.10.3, it does not work and I have the following error:
RuntimeError: On node 0/DDC_0, output port 1 is already connected.

Is it normal ?

Thanks,

Matis


_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to