[USRP-users] transmit and receive simultaneously at different frequencies with different rates with a single B210

Garey, Marshall Owen mgarey at lanl.gov
Wed Jul 22 11:57:10 EDT 2015


Hey Justin,

I know I’m not one of those really smart guys at Ettus, but I’ve done this on the N210. I’m not sure if that applies to the B210, but here’s what I did. I didn’t actually use set_<tx/rx>_subdev_spec, but I used uhd::usrp::multi_usrp::sptr <name> = uhd::usrp::make(args), once for tx and once for rx. I used boost::thread for the recv and transmit threads. Maybe I did some things wrong, but it seems to work fine. If you want I can attach some source code for you to take a look at.

Good luck,
Marshall

From: USRP-users [mailto:usrp-users-bounces at lists.ettus.com] On Behalf Of Justin Tallon . via USRP-users
Sent: Wednesday, July 22, 2015 7:57 AM
To: usrp-users at lists.ettus.com
Subject: [USRP-users] transmit and receive simultaneously at different frequencies with different rates with a single B210

Hey Guys,

I am looking to receive at one rate and transmit at another on different ( but nearby) frequencies with the same b210, with the tx and rx operating in different threads.

I have seen examples of receiving on two different channels but not of transmitting on one and receiving on the other?

Is the correct approach to initialize two subdevs

thread 1:
..
..
usrp1_->set_tx_subdev_spec(std::string("A:B"), 0);
and
thread 2:
..
..
usrp2_->set_rx_subdev_spec(std::string("A:A"), 0);
..
with a separate
uhd::usrp::multi_usrp::sptr usrp_;
initialized in each thread.


because this does not seem to work for me?
is there additional steps that i am leaving out or is there another way of doing this?
Thanks!
Justin.

--
__________________________________________
Regards,
Justin Tallon
CTVR / The Telecommunications Research Centre
Dunlop Oriel House
Trinity College
Dublin 2
t: +353 1 896 4243<tel:%2B353%201%20896%204243>
m:+353 860670753<tel:%2B353%20860670753>
http://www.ctvr.ie/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150722/99366b67/attachment-0002.html>


More information about the USRP-users mailing list