Hello,
Is it possible for the GLK to use RS232 hardware based flow control, meaning it will use RS232 hardware signals if it is ok to transmit?
I have the software flow control implemented in that I send characters to the GLK one at a time while checking a "volatile" flag indicating if it is OK to transmit. The flag is toggled by the thread handling incoming serial port data which watches for the GLK full/empty responses.
I'm finding that in some cases it is possible overrun the buffer in the GLK before a the full response from the GLK can be sent and handled.
Hardware flow control would eliminate these issues but if the GLK software flow control is the only option, are there any recommdations or best practices for which full/empty parameters to use on the enable flow control command (0xFE, 0x3A)?
Hardware based RS232 flow control?
Hi,
Unfortunately the GLK cannot support hardware flow control at this time.
I would suggest you increase the upper threshold setting of the software flow control to give yourself a little more warning before overflowing the receive buffer. I know this isn't the idea solution but it does work.
Here is a link to one of the GLK manuals; please section 4.2 (Turn Flow Control On) for a detail explanation of setting the Software Flow control.
http://www.matrixorbital.ca/manuals/GLK ... 232-25.pdf
Brian Ingwersen
Matrix Orbital
Unfortunately the GLK cannot support hardware flow control at this time.
I would suggest you increase the upper threshold setting of the software flow control to give yourself a little more warning before overflowing the receive buffer. I know this isn't the idea solution but it does work.
Here is a link to one of the GLK manuals; please section 4.2 (Turn Flow Control On) for a detail explanation of setting the Software Flow control.
http://www.matrixorbital.ca/manuals/GLK ... 232-25.pdf
Brian Ingwersen
Matrix Orbital