09-24-2012 08:36 AM
Hi,
I am trying to configure MIMO 2x2 system with 4 USRP 2920 and VI https://decibel.ni.com/content/docs/DOC-23285.
When i set IQ rate parameter to 200kS/sec, everything works correctly, but when i increase rate over 450k S/sec,
this error message is shown: ni USRP write Tx Data(2D CBD).vi Underflow: The Tx buffers was emptied before new data was provided. Consider reducing the IQ rate, increasing Write rate or increasing the number of samples per write.
I need 1M S/sec or more!
How can I increase write rate or how to increase number of samples per write?
Is there anything i can do else?
I use 64-bit Win 7
CPU: Intel core(TM) i5-2450M CPU @ 2,5G 2,5G
RAM: 6GB
Thanks,
Pixus
09-24-2012 08:44 AM - edited 09-24-2012 08:46 AM
When using NI-USRP 1.1, the following registry key must be modified:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AFD\Parameters]
"FastSendDatagramThreshold"=dword:00000800
Note that the dword equivalent of 800Hex in decimal is 2048.
This registry key modification should not be needed in future versions of the ni-usrp driver.
NOTE: Editing the registry is done at your own risk, so please practice extreme caution when editing the registry. Remember to back it up before editing it.
Go to Start » Run and type in regedt32
to open the registry editor.
Read more at Microsoft.com: http://www.microsoft.com/windows/windowsmedia/howto/articles/optimize_web.aspx#appendix_e
Best Regards,
Erik
09-24-2012 09:21 AM
Hi,
i went to location [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AFD\Parameters] and there is no any "FastSendDatagramThreshold" value. Should I create one or what?
Thanks
Pixus
09-24-2012 09:29 AM
Hi Pixus,
Yes, you will need to create this registry key.
09-24-2012 09:34 AM
09-24-2012 10:13 AM
Hi,
Now VI works with IQ 2M S/sec, and it is great. But I have another question. By default, FFT size and number of subcarriers is 128, 20, respectively. When i increase FFT size to 1024 and number of subcarriers to 120, like in LTE, this error message pops up:
nj USRP Tx Data (2D CDB).vi Packet had timestamp that was too late (or too early).
What does it mean and how to solve this problem?
Thanks,
Pixus
09-25-2012 10:05 AM
Hi,
with increasing IQ rate, do i must increase "num samps per fetch" also?
For example, for IQ rate of 500k or 1M, do i must increase "num samps per fetch" from 80k to some other value?
Pixus
09-25-2012 03:46 PM
Hi Pixus,
The IQ rate and number of samples per fetch are related, but not dependant on each other. The IQ rate specifies the number of samples per second to acquire (or transmit) and is typically determined by your RF application. The number of samples per fetch is typically something that is more determined by your computer. The USRP receives samples continuously. These samples are written into a small buffer. The driver then pulls the data out of the driver in chunks, or a certain number of samples every time a fetch is performed. It is important to set the number of samples per fetch to something reasonable because a fetch takes a little bit of time. If you aren't taking enough samples out of the buffer every fetch, then the buffer will overflow and you get an error.
If you are sampling at a higher IQ rate, that means more samples are being put into the buffer every second than there would be with a slower IQ rate. Because of this, the buffer will overflow faster at higher IQ rates if you are not pulling enough samples out of the buffer per fetch.
09-25-2012 03:54 PM
10-15-2012 12:26 PM
Hello All,
I am using USRP2 as a receiver with the following configuration
IP:192.168.10.2
Gain:0~30
IQ Rate: 558,659k
Frequency: 1700MHz & 485MHz
Active Antenna: RF2
Number of Samples (which is input terminal of niUSRP Fetch Rx Data (poly).vi): 3000
I am reading the IQ data and storing it in .tdms file but it gives an error when I run the .vi file on my laptop (where in my home PC .vi file runs smoothly without any error) i.e.
Error-1074118647 occurred at niUSRP Fetch Rx Data(CDB WDT).vi
Possible reasons:
Overflow: an internal receive buffer has filled before the data could be returned. Consider reducing IQ rate, increasing the Fetch rate, or increasing the number of samples per fetch.
I tried all the solutions i.e. update Laptop LAN drivers, Switch the PC to High Performane, Create the Reg Key, even change the code but all in vain. Still having the same problem. Kindly help me
Regards