Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSComm Clear Input Data
Message
From
28/02/1998 09:40:59
Ian Johnston
Computer Software Solutions
Woodland, California, United States
 
 
To
27/02/1998 20:49:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00081835
Message ID:
00081880
Views:
36
>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
Map
View

Click here to load this message in the networking platform