Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with MSComm control
Message
 
 
To
14/06/2001 05:13:29
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00515479
Message ID:
00519700
Views:
24
>Since your RThreshold is 1, I'm assuming you are using event driven processing. Let me see your Oncomm event code.

Oncomm event code (really simple, just like other stuff):
  THISFORM.Edit1.Value = THISFORM.Edit1.Value + THISFORM.OleControl1.Input
  THISFORM.Edit1.SelStart = LEN( THISFORM.Edit1.Value )
>Will your cabling/DEC hardware support CTS/RTS hand shaking? Not your problem, just the way I like to do things.
I pretty sure it doesn't, the control wouldn't work with that setting anyway, I haven't checked on the DEC yet if there is something I can change to support it. I know it uses XOn/XOff, and that works.



>Since I can't see any extra data on the wire here, I think I would try and parse the data returned and see exactly what the DEC is responding with. The garbage in an edit box is not very useful. See if you can determine what exact control sequence is returned.

Here is what is being returned, I don't know what it means though:
CHR(30) + CHR(8) + CHR(27) + CHR(53) + CHR(30) + CHR(8) + CHR(27) + CHR(53) + CHR(27) + CHR(35) + CHR(27) + CHR(34) + CHR(30) + CHR(8) + CHR(27) + CHR(53)

Thanks again Jim,
John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform