Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serial Port Monitoring

Status
Not open for further replies.

adeorkim

Technical User
Oct 23, 2001
6
AU
Hi, Im trying to find a program that will help me to set up an automatic download of data stored onboard earthmoving machines. We have a system that stores data on the on-board electronic system and allows us to manually download that data for analysis. But what I want to do is try and find a program that will allow the download to start automatically whenever there is activity sensed at the serial port. E.G when the serial port cable is hooked onto the machine, maybe allow an .exe file to be run whenever activity is sensed. Or maybe a marco can be started to activate the .exe file and then close the program in 10 minutes. This would allow the unattended computer to be ready for the next machine. Any help here would be greatly appreciated
adrian.clement@westrac.com.au
 
You would have to write a small routine that continually polls the serial port.
Theres some great help in the MSDN library called
Serial Communications in Win32
which has examples and takes you through opening a port, reading/writing to the port and closing it.
Hope that helps.
:¿)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top