Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSComm Clear Input Data
Message
De
01/03/1998 10:27:37
 
 
À
28/02/1998 09:40:59
Ian Johnston
Computer Software Solutions
Woodland, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081835
Message ID:
00081960
Vues:
36
By using PortOpen to clear the Input buffer doesn't sounds right. Because I wouldn't know when is the last data sent from the serial port? Closing the port might cause lost of data, do you agree with me, Ian Johnston? Any other alternative? Thanks. > >>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