Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RS232 Communications
Message
From
01/05/2003 08:41:12
 
 
To
01/05/2003 08:31:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00783610
Message ID:
00783613
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform