USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Avoid underflow and overflow

Solved!
Go to solution
Solution
Accepted by Amir2

Hi Gallyket, 

 

There are multiple ways of timing the execution speed of your loop. Please refer to the comment I posted above, where I shared this forum post that describes one way of timing your loop. 

 

Part of the reason you have to do this yourself is that the loop execution speed depends on your computer. A slower/older computer will have a lower execution speed.

Message 11 of 12
(2,465 Views)

Hi

 

I am new to SDR development and currently facing an underflow issue. I tried setting the loop time according to the execution but it doesn't help. I have configured the start trigger time as 2 seconds. So after 2 secs, an underflow error occurs. 

 

The queue has a buffer of 500 elements, so there is no chance of running out of elements. IQ Rate is 100000.

 

Could you please help me to resolve this error.

 

TIA

 

BR
Shree

0 Kudos
Message 12 of 12
(1,415 Views)