11-13-2013 04:23 PM
I'm trying to playback a file on a USRP, and am getting this error: "niUSRP Write Tx Data (CDB).vi<ERR>Underflow: the Tx buffer was emptied before new data was provided. Consider reducing the IQ rate, increasing the Write rate, or increasing the number of samples per Write." I've played with some different sizes with no luck. I'm a labview newbie, and created this vi(attached) by merging two example vis, one that played back a tone and the other that reads binary files.
The file is a real 100KHz tone, sampled at 2MHz and is 50 milliseconds long, 15 bit integers sign extended to 32 bits. I'd like to have it continuously looped.
Also does anyone know what data rate is realistically achievable for file playback? Especially with a N210 or USRP-2922 or USRP-2930.
Thanks
Tom
11-13-2013 04:45 PM
A few suggestions:
1. Make sure your computer "Power Options" are set to high performance
2. Install the manufacturer's driver for your ethernet port
- turn off "energy efficient ehterent" if its an option
- increase TX buffer size in the advanced features of the driver
If you are using a laptop, I would expect you to be able to send 5 MS/s easily, up to 15 MS/s with some tweaking. A desktop should be able to do a full 25MS/s.
Erik