Serial Terminal, "Input buffer" capacity?

John Chris

Senior Member
Serial Terminal, "Input buffer" capacity?

Im using the SERTXD to display some data in the terminal window. At a certain point, does the terminal cut off the first strings of data in order to make room for new ones?

Does this "Input buffer" have a finite capacity?
 
Last edited by a moderator:

hippy

Technical Support
Staff member
It does, not just due to your PC having finite capacity, but ( I expect ) to keep display update speeds reasonably fast when using higher baud rates.
 

Technical

Technical Support
Staff member
After 10,000 characters have been received the first 8,000 are deleted, leaving the latest 2,000 and space for another 8,000!

So if you want to save data using this feature upload in 'batches' under 10,000 characters long.
 

hippy

Technical Support
Staff member
After 10,000 characters have been received the first 8,000 are deleted, leaving the latest 2,000 and space for another 8,000!
Would it be possible to drop the first 2,000 leaving the last 8,000 ? Sod's law determines that just as the buffer is compacted, the data one's interesting in was 2001 bytes ago. This way you'd always have access to the latest 6,000 to 8,000 characters. It means the buffer has to be compacted more frequently, but shouldn't be too much of a problem.
 
Top