Hi, I just upgraded to Ubuntu 20.04 LTS (from 18.04 LTS) and I now have an issue running replay_samples_from_file (using UHD-3.15.LTS with an N310). It now hangs "Waiting for recording to complete...". I did not have this issue prior to upgrade. I'm wondering if anyone else has seen this or if anyone has successfully run this example under 20.04?
I added some debug statements within the relevant while loop and determined that the Fullness is always 32592 / 32768 (32768 is the byte length of my tx file which is attached). I do not know why the Fullness never reaches 32768. If you have Ubuntu 20.04 and a USRP that has a Replay block (such as default image for N310) and could try this example with the attached data file (see command line and output below), I'd appreciate it. Rob $ replay_samples_from_file --file /media/ramfolder/tx_0.dat --freq 2450e6 Creating the USRP device with: . . . [INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_3.15.0.0-54-gbc585b43 [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.61.2,type=n3xx,product=n310,serial=315A34B,claimed=False,addr=192.168.61.2 [WARNING] [MPM.RPCServer] A timeout event occured! [INFO] [MPM.PeriphManager] init() called with device args `clock_source=internal,mgmt_addr=192.168.61.2,product=n310,time_source=internal'. [INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004) [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312) [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312) [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002) [WARNING] [RFNOC] Can't find a block controller for key txarb, using default block controller! [INFO] [0/txarb_0] Initializing block control (NOC ID: 0xC1D546ADCD517FB9) [WARNING] [RFNOC] Can't find a block controller for key txarb, using default block controller! [INFO] [0/txarb_1] Initializing block control (NOC ID: 0xC1D546ADCD517FB9) [INFO] [0/radarfilter4_0] Initializing block control (NOC ID: 0x64722F304FD8731D) [INFO] [0/radarfilter4_1] Initializing block control (NOC ID: 0x64722F304FD8731D) Using radio 0, channel 0 Using replay block 0, channel 0 Setting TX Freq: 2450.000000 MHz... Actual TX Freq: 2450.000000 MHz... Connecting 0/Replay_0 ==> 0/Radio_0 Using streamer args: radio_id=0/Radio_0,radio_port=0,block_id=0/Replay_0,block_port=0 Replay file size: 32768 bytes (4096 qwords, 8192 samples) Record base address: 0x0 Record buffer size: 32768 bytes Record fullness: 0 Play base address: 0x0 Play buffer size: 32768 bytes Restarting record buffer... Sending data to be recorded... Waiting for recording to complete... ^C
tx_0.dat
Description: Binary data
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com