Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a Chr string to a com port
Message
De
14/08/2002 07:12:06
 
 
À
12/08/2002 17:07:39
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00688861
Message ID:
00689469
Vues:
24
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform