06-27-2022 08:32 AM
Dear,
I am using stream data transmission example as a part of my project and after a while an overflow message appears. I am using IQ 100K. how to avoid the buffer overflow?
example link:
Streaming OFDM Transmitter and Receiver - NI Community
Solved! Go to Solution.
06-27-2022 10:10 AM - edited 06-27-2022 10:12 AM
Any buffer overflow is a result of not reading fast enough. Without seeing your code we cannot even guess what the bottlenecks are that slow down the read rate.
Typical mistakes enclude:
Are you using RFmx? You Should be.
06-27-2022 11:45 AM
@JÞB wrote:
Any buffer overflow is a result of not reading fast enough. Without seeing your code we cannot even guess what the bottlenecks are that slow down the read rate.
Typical mistakes enclude:
- Processing large data in the read loop
- Trying to log Or display data in the read loop
- Repeatedly opening and closing Read Sessions.
Are you using RFmx? You Should be.
This is the first time I have heard of RFmx. It sounds really interesting. THANKS.
06-27-2022 02:17 PM
@billko wrote:
@JÞB wrote:
Any buffer overflow is a result of not reading fast enough. Without seeing your code we cannot even guess what the bottlenecks are that slow down the read rate.
Typical mistakes enclude:
- Processing large data in the read loop
- Trying to log Or display data in the read loop
- Repeatedly opening and closing Read Sessions.
Are you using RFmx? You Should be.
This is the first time I have heard of RFmx. It sounds really interesting. THANKS.
I had to go look it up too. Sounds like it could come in handy.
06-27-2022 02:18 PM
06-27-2022 09:14 PM
@Frozen wrote:
@billko wrote:
@JÞB wrote:
Any buffer overflow is a result of not reading fast enough. Without seeing your code we cannot even guess what the bottlenecks are that slow down the read rate.
Typical mistakes enclude:
- Processing large data in the read loop
- Trying to log Or display data in the read loop
- Repeatedly opening and closing Read Sessions.
Are you using RFmx? You Should be.
This is the first time I have heard of RFmx. It sounds really interesting. THANKS.
I had to go look it up too. Sounds like it could come in handy.
It's been around for a few years and continues to grow support for new RF standards although it has always supported basic RF measuments for software defined radios. I had Norm slap together a 10min Jing walk-through for me once before committing a client to adopt it. If you've ever seen Norm do a full throttle dive into RF ... trust me it can bruise any RF Experts ego.
06-28-2022 01:56 AM
Thanks for the quick response. I already removed most of the displays, but still overflow occurs. I am guessing I am not reading fast enough as you said. I am using the streaming files as TDD multiplexing using timed loop with duration 1 m-sec, receiving in one time slot and transmitting in the next slot. I am using USRP 2922 and 2930, and accordingly I cannot use timed loop with less that 1 m-sec. I uploaded the files. If you have better solution for TDD, I will be thankful.
06-28-2022 01:58 AM
sorry, the attached file
06-28-2022 02:28 AM
thanks a lot, I will check the RFmx