if i sent a byte to the serial port and i need to test if that byte got to the serial port how can i do it>? :rolleyes:
Printable View
if i sent a byte to the serial port and i need to test if that byte got to the serial port how can i do it>? :rolleyes:
in fact i m using
Text2.Text = MSComm1.OutBufferCount
but it is always returning 0
what can be wrong with the code?
If it returns "0" then the bytes where send and the buffer is empty now. However it will not say that your receiver did receive it! If you have 2 comports on your PC just connect them to each other with a "0-modem" (wires are crossed) cable. Listen on the other port with a terminal program.