Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RS232 Communications
Message
De
01/05/2003 08:41:12
 
 
À
01/05/2003 08:31:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00783610
Message ID:
00783613
Vues:
14
Christopher,

Try Good practice in using MSCOMM.OCX in VFP - Download #9636

A simple form that should get you started.

>Hi...
>
>I need to be able to send a 'data block' from a PC to a device that's attached to the PC through COM1 and a RS232 connection. This will trigger the device to begin sending data to the PC. The data block that needs to be sent to the device is:
>
>G
>
>where is a data linkage escape character (hex 10h)
>where is a block start (hex 02h)
>where G is the code that gets the info going
>where is a block end (hex 03h)
>where is a 2 byte CCITT CRC-16 code
>
>The device will then send data to the PC in a similar manner.
>
>This is WAAAAAAAYYYYYY above my head. Can anyone help me out?
>
>CM
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform