Hi, I am happy to report that I was able to set up the 2-stream transmission actually without much trouble. I want to thank Michael Dickens and Ron Economos for offering valuable advice, without which I would never be able to get it done in a couple of days.
I just used gnuradio-companion and connected two file sources to a usrp sink with two channels. The main changes I made to the usrp sink are: Stream channels: [0,1] Mb0: Subdev Spec: A:A A:B Num Channels: 2 Thanks, Zhenghao On Tue, Jul 23, 2019 at 4:07 PM Zhenghao Zhang <zzh...@cs.fsu.edu> wrote: > > Hi Michael, > > Thank you very much for your message. As you said, I am just trying to > get the equivalent of "tx_samples_from_file." I will just need to > pushing half of the data in the file to each antenna. I will look into > the cpp file you pointed me to. > > Over 10 years ago, I spent one summer on the first generation of USRP > (I still have it in my office) and got MU-MIMO to work with 2 tx > antennas and 2 single antenna receivers. Things have changed since and > I have some catch up to do. > > Thanks, > Zhenghao > > > > On Tue, Jul 23, 2019 at 3:00 PM Michael Dickens > <michael.dick...@ettus.com> wrote: > > > > Hi Zhenghao - To the best of my knowledge and memory, all of the examples > > provided by UHD and GR are just single-channel. My guess is you'll need to > > create your own custom flowgraph to handle 2 output channels from a single > > input file. That said, if what you hope to do is the equivalent of > > "tx_samples_from_file" but just pushing the same file to 2 outputs (or even > > pushing 2 data streams from the same file, one each to each B210 Tx > > antenna), that shouldn't be difficult to create: copy the file > > "https://github.com/EttusResearch/uhd/blob/master/host/examples/tx_samples_from_file.cpp" > > and use it as a starting point; edit it to do what you want! Good luck! - > > MLD > > > > On Mon, Jul 22, 2019, at 5:29 PM, Zhenghao Zhang via USRP-users wrote: > > > Hi, > > > > > > I have a very simple task: transmitting data with two antennas of > > > B210. The data is just numbers in a file and I just need to play the > > > file. > > > > > > I have been able to transmit data by one antenna with the command > > > tx_samples_from_file. I did a lot of searching but I was not able to > > > find a similar command to use two antennas. > > > > > > I am sorry if this question or some variations of it has been answered > > > before. Any help is appreciated. > > > > > > Thanks, > > > Zhenghao _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com