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

Reply via email to