Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM32 return missing ETX
Message
De
16/01/2004 00:56:55
 
 
À
12/01/2004 07:03:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00865346
Message ID:
00867366
Vues:
27
Hi,

Thank for your advise. My RThreshold is set 1 for the OnComm event to trigger.
InbufferSize = 1024.
I tested using your code, there are no error detected in the OnComm events at all.
In addition, I had even enable the Handshaking - Xon/Xoff.

FYI, when I comment out the OnComm event code, had another button
just to INPUT the buffer, the ETX is seem in the buffer.

It seem like the MSCOMM didn't trigger the OnComm event for the ETX




>What are the property values for RThreshold, InBufferSize? Are any error events being raised (Overrun, Overflow)?
>
>>Hi,
>>
>>Thank for your advise and code. I tried to use your code
>>for my OnComm Event but still not able to get the ETX.
>>
>>I observed that it happened to events when I expecting more
>>than 80 character from the device that I using.
>>
>>If I expect less than 40 character from the inbuffer, I can
>>detect the ETX.
>>
>>I am really at a loss, any other suggestion or comment to
>>assist me on this weird problem.
>>
>>Thank you
>>
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform