Hi,
I am trying to use GNURadio to receive signals and record them to files from two USRP B210(each has two channels). Both SDRs are connected to an CDA-2990 external clock. In gnuRadio I had to put two UHD source blocks and use "serial=xxx" to point them to each SDR and connect each output channel to 4 file Sink blocks. I also changed the clock and time source to "external" and synced to "unknown PPS". However, a couple of files are different in size from the other couple. Apparently if I want to start them synchronously, all four channels should be in one source block, but how can I do that and point out each 2 channels come from a different device? When I try one USRP source block with "serial0=31A3C93,serial1=31A3D4B", I face an error bellow:
Traceback (most recent call last):
File "E:\Alireza\sdr_A20\top_block.py", line 207, in <module>
main()
File "E:\Alireza\sdr_A20\top_block.py", line 201, in main
tb = top_block_cls()
File "E:\Alireza\sdr_A20\top_block.py", line 125, in __init__
self.uhd_usrp_source_0.set_clock_source('external', 1)
File "E:\Program Files\PothosSDR\lib\python2.7\site-packages\gnuradio\uhd\uhd_swig.py", line 2987, in set_clock_source
return _uhd_swig.usrp_source_sptr_set_clock_source(self, source, mboard)
RuntimeError: LookupError: IndexError: multi_usrp::mb_root(1) - LookupError: IndexError: multi_usrp::mb_root(1) - path not found
Is there any example available on how I can synchronously start recording from different devices? I assume this is a trivial task but I have been searching for this for a few days right now and I can't find any helpful answer. I am attaching my .grc files.
Thank you,
Ali