>I managed to send data out to serial port by using MSComm control. Thanks.
>I used the INPUT property to receive data from the serial port, it does
>read, but when I read the 2nd time it is the same message.
>
>Anyway to clear away the previous read data, as I'm using the
>Timer to perform read at time interval. Pls advise, thanks.
The way the documentation sounds calling input is suposed to clear the buffer but it does not. I use portopen to open and close the port this will clear the buffer and reread the serial port.
Hope this helps.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only