Re: [USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-15 Thread Jason W Zheng via USRP-users
and receive on the X310 On 08/14/2017 08:27 PM, Jason W Zheng via USRP-users wrote: I don't think the problem is in the metadata, unless I'm really doing it wrong. I've tried the suggestion you put out earlier, modeling my code after the example txrx_loopback_to_file. The first packet has a

Re: [USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-14 Thread Jason W Zheng via USRP-users
e code I posted, there is no coordination between the transmit and the receive threads. This is for example purposes. The transmit and receive buffers are independent. The transmit thread buffer is prefilled with 0's and is constantly transmitting 0's. From

Re: [USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-14 Thread Jason W Zheng via USRP-users
my cpu or network card are the issue as when I change my code to receive and transmit on separate channels, it works without any underflows. From: USRP-users <usrp-users-boun...@lists.ettus.com> on behalf of Jason W Zheng via USRP-users <u

Re: [USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-14 Thread Jason W Zheng via USRP-users
How should I set the tx metadata? My application will essentially stream continuously. Thanks, Jason From: ROBIN TORTORA <ti...@comcast.net> Sent: Monday, August 14, 2017 11:17:07 AM To: Jason W Zheng via USRP-users; Jason W Zheng Subject: Re: [USRP

Re: [USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-14 Thread Jason W Zheng via USRP-users
the same channel without underflows? Thanks, Jason From: USRP-users <usrp-users-boun...@lists.ettus.com> on behalf of Jason W Zheng via USRP-users <usrp-users@lists.ettus.com> Sent: Monday, August 7, 2017 1:05:05 PM To: usrp-users@lists.ettus.com Su

[USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-07 Thread Jason W Zheng via USRP-users
Hi, I'm building an application where I receive data from the x310, process the data, then transmit it out. I have 3 separate threads running, one for each task. The receive task is constantly receiving data from the x310 at 200MS/s and putting it into a buffer. The process task takes data