Mike Besemer - WM4B
toggle quoted messageShow quoted text
Did you say earlier that you’re polling every ¼ to ½ second?
From: QRPLabs@groups.io [mailto:QRPLabs@groups.io] On Behalf Of Hans Summers
Yes but you are asking an unreasonable thing. The QCX is not a PC with enormous quantities of RAM. It is a little processor with 2K of RAM.
There is a buffer into which incoming CAT commands are placed. It is a circular buffer, 128 characters big. Incoming text is buffered and waits its turn to be processed. Processing moves around the circle. In the event that you put too many characters in, such that the head of the buffer overtakes the tail, then things will go wrong.
Similarly there is an outgoing CAT buffer too. Again, it is of a finite size (120 characters, this time); and it is not a circular buffer since circular is not necessary in this case. If you issue CAT commands like IF; many times over then you can overflow the result buffer; in this case it will just ignore anything after 120 characters.
These limitations are normal and reasonable; in any reasonable use scenario the buffer sizes should be sufficient.
It is worth noting that even a PC also has loads of buffers for everything. But they are very large and it is very hard to overflow them. As you have seen, it is not hard to set up artificial scenarios in which you can overflow the QCX buffers.
If you feel that the buffer sizes are not sufficiently large for any reasonable use then that is a different matter and I should look at how to increase them.
73 Hans G0UPL
On Thu, Aug 13, 2020 at 6:34 PM Sheldon Hartling <ve1gpy@...> wrote: