Batch files and serial ports?

September 17, 2008 at 22:21:54
Specs: XP, N/A
I have a device that outputs a 5 digit number to the serial port, waits 5 seconds and sends a cr/lf to the serial port. I want to take that number, call a batch file and pass that number to it as a parameter. Can I read data coming from the serial port within a batch? Do you know of any program that will monitor the serial port and call a program when certain data string is read? Any and all ideas would be appreciated. Thanks

See More: Batch files and serial ports?

Report •

September 18, 2008 at 01:46:03
You can send data to a serial port in a batch script, BUT you can't read data directly from that as serial communications are interrupt driven and require a program to perform that task.

If you are interested and your problem is not so urgent I can send you a program to achieve the goal, but it requires to be customized.

Contact me by a private message including your e-mail.

Report •
Related Solutions

Ask Question