VB6 - RS485 Communcations
Posted on 2000-05-09
Upgrading a VB6 project from 16 bit to 32 bit. This program will be used on NT machines(32-bit) as well as Windows 95/98.
Old program used the RS232 serial communications where no hardware handshaking took place, ie. RTS line not toggled.
The 32 bit needs to use the RS485 serial communications protocol where RTS line must be toggled, ie. hardware output buffer (UART) needs to be monitored in order to know when to toggle the RTS line.
Is there a way to check and see when the UART buffer has been emptied? It is my understanding that the OutputBufferCount property only moniters the software's output buffer, not hardware.