LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

receive data causes buffer overflow

Solved!
Go to solution

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

0 Kudos
Message 1 of 9
(1,851 Views)
Solution
Accepted by topic author AliSiddig

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. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 9
(1,820 Views)

@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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 9
(1,801 Views)

@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.


/google "RFmx"

 

I had to go look it up too. Sounds like it could come in handy.

 

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 4 of 9
(1,784 Views)
Radio Frequency Measurement eXperience is a session based API that calls through Modulation and Spectral Annalisys Toolkits to the underlying functions. The closest analogy would be comparing Traditional DAQ and DAQmx. The Measurement eXperience is the goal rather than the low level manipulations needed to create the ends.

"Should be" isn't "Is" -Jay
Message 5 of 9
(1,782 Views)

@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.


/google "RFmx"

 

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.


"Should be" isn't "Is" -Jay
Message 6 of 9
(1,768 Views)

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.

0 Kudos
Message 7 of 9
(1,752 Views)

sorry, the attached file

0 Kudos
Message 8 of 9
(1,749 Views)

thanks a lot, I will check the RFmx

0 Kudos
Message 9 of 9
(1,739 Views)