Discussion Locked

Code to capture serial data stream

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for ideas on how best to capture the input from a serial port (each record is a fixed-width field with a total of 132 characters) and write it to an Access database. Data comes in at 4800 baud so speed is not a big deal.

Is there anOCX already written for this?

Any ideas will be appreciated.

thanks!

paul

2 replies

by antti

There are generic Serial Comm OCX available, but you should write some code that handles the incoming data. You may use many programming environments, whatever suits your need. With Delphi the all application would be about 20 lines of original code, ie exe file that reads comm and writes to database.

This discussion is closed to new replies.