Dear Per, On 2025-01-07 10:45 +0000, Per Zetterberg via USRP-users wrote: > I am trying to stream using tx_samples_from_file as: > > > ./tx_samples_from_file --args="addr0=192.168.10.2,addr1=192.168.10.3" > --rate=390625 --freq=0 --repeat --ref=external > > > However only the LED-A of USRP 192.168.10.2 is on. If I change order to > > > ./tx_samples_from_file --args="addr0=192.168.10.3,addr1=192.168.10.2" > --rate=390625 --freq=0 --repeat --ref=external > > > only LED-A of USRP 192.168.10.3 is on. The results are the same on a pair of > USRP2 as on a pair of N210. > > I use ubuntu 22.04 with UHD version "tag: v4.7.0.0-rc1". The USRPs are > connected though a netgear switch. Below is an example printout from a run: > > ./tx_samples_from_file --args="addr0=192.168.10.3,addr1=192.168.10.2" > --rate=390625 --freq=0 --repeat --ref=external
You need to specify the channels you want to use, e.g. `./tx_samples_from_file [...] --channels '0,1'`. Indeed, if you read the source code of tx_samples_from_file [1] it only uses channel 0 by default. You can use `./tx_samples_from_file --help` for the list of options. [1] https://github.com/EttusResearch/uhd/blob/e75629c3cfb4d0a654648f775e65e79375cf4f13/host/examples/tx_samples_from_file.cpp#L127 Best regards -- Cédric Hannotier _______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
