Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a Chr string to a com port
Message
From
14/08/2002 07:12:06
 
 
To
12/08/2002 17:07:39
Brian O'Donovan
Crescent Computers
Cork, Ireland
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00688861
Message ID:
00689469
Views:
25
>I am looking for the syntax to send a character string chr(7) to
>com5. What would the method be or the coding
>
>Many thanks
>
>Brian O Donovan
loserout = NEWOBJECT("MSCOMMLib.MSComm")
WITH loserout
  .commport = 5
  * adjust settings to suit
  .settings = '9600,N,8,1'
  .handshaking = 2
  .rtsenable = .T.
  .portopen = .T.
ENDWITH
loserout.output = CHR(7)
Previous
Reply
Map
View

Click here to load this message in the networking platform