>Does anybody wrote a counter program that receives data from a serial port?
>I am trying to write a program that will get information through a serial PC port from a P.L.C. I want to make this program count and log machine cycles, total downtime, averages etc.
>Does anyone know how to get data from a serial port to Visual FoxPro application?
Might want to look at the MSComm Control. Look for the help file Comm98.chm on your drive you installed VFP on.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers