Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSComm Clear Input Data
Message
De
28/02/1998 09:40:59
Ian Johnston
Computer Software Solutions
Woodland, Californie, États-Unis
 
 
À
27/02/1998 20:49:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081835
Message ID:
00081880
Vues:
40
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform