Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSComm - missing something simple
Message
From
04/09/2004 13:00:19
 
 
To
04/09/2004 07:16:04
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00939403
Message ID:
00939465
Views:
11
Hi,

>>
Talking to the identical app. (under development) on another PC using a NULL modem cable.

No Handshaking (per the spec of the app. I will ultimately be talking to).
At other end (testing) I display count of received and data received. Sending 12 bytes but getting only 8. At that point I have no idea how to get the other 4 to be sent.

I'll check the CTS and DSR but assume they're OK.

RThreshold set to 1, SThreshold set to 0 (tried 1 too, no joy).
No error checking coded yet. I must add some at this point.
>>

To clarify: is the data sticking in the Send Buffer or just getting lost in transmission ? (If there's no handshaking it should all get transmitted) If it just doesn't arrive that may indicate a buffer overrun - are you checking for comEventOverrun in the OnComm of the receiving end ?

Are you working in event driven (i.e using OnComm()) or polling mode ?

Few thoughts:
If you're not using any handshaking then RTS/CTS values aren't going to be relevant.
Is the data straight ASCII or binary - if binary then the InputMode property may have an effect ?
If you're using OnComm() and the message is of known length you could try setting the RThreshold accordingly on the receiving end.
Can you test using HyperTerminal to emulate the other app ?

HTH,
VIv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform