[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-30 Thread Marcus Müller
re 2-: Your `recv` call fills in a metadata object, which has a `timespec` member. You could use that. I've hacked together debugging receivers in the past where I just wrote the timespecs and the samples they belong to interleaved to a separate file, something like (this is just copied togeth

[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-29 Thread h57jafari
Hi Rob, RFNoC_Replay as you mentioned is great without any underrun even with higher sample rate. 1- I have a same radar application and I implemented the TX/RX code with two methods in GNU Radio: with RFNoC_Replay and also with simple USRP sink/source blocks. \-with USRP sink/source blocks,

[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-29 Thread Marcus Müller
Hi Anna, On 28.09.23 23:49, Anna Lamkin Broome wrote: Hi Marcus, After a bit more testing, I am increasingly convinced that the application begins to hang only after encountering a late command error for the first time. If this is indeed the case, the time it takes from start of application t

[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-28 Thread Anna Lamkin Broome
Hi Marcus, After a bit more testing, I am increasingly convinced that the application begins to hang only after encountering a late command error for the first time. If this is indeed the case, the time it takes from start of application to hanging depends on the number of samples transmitted/r

[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-28 Thread Rob Kossler via USRP-users
One more thing. One difference between 3.15 and 4.xx might be the length of FIFOs on the FPGA for buffering Tx data arriving from the host. If the 4.xx buffers are smaller, then it may be more likely for a "glitch" to occur if your host is a bit "bursty" when providing the samples. If this is tr

[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-28 Thread Rob Kossler via USRP-users
Hi Anna, I do not have a response to your direct question regarding performance. However, I have a suggestion that may make the performance irrelevant. The X310 image comes with a Replay block that accesses the DRAM chip for storage. Given that you are sending a repeatable waveform, you should ha

[USRP-users] Re: X310 Appears Laggy Using UHD 4.5

2023-09-28 Thread Marcus Müller
Hello Ms. Broome, that does sound complicated and undesirable. From the top of my head, I have no idea what could cause this. Barring any method of directly debug this – how quickly does reproduction for you work? Meaning, from the start of your application to the application hanging or no sam