Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch files and serial ports?
Name: cwb212001 Date: September 17, 2008 at 22:21:54 Pacific OS: XP CPU/Ram: N/A Product: n/a
Comment:
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
Name: IVO Date: September 18, 2008 at 01:46:03 Pacific
Reply:
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.
Summary: Hello, I want to create an exe file from a batch file and 2 other exe file. How can I do this? I want it so that when I click the exe it runs the batch file and it can still do things with the other 2...
Summary: i created a batch file and i'm invoking three programs in it one by one. but when i click on batch file all three programs are running simultaneously.. so how to execute them one after the other.? ...
Summary: Hi, I am trying to automate a series of FTP commands so that i can hand a job over to someone not technically minded! These are the FTP commands I am currently using: ftp 100.100.100.100 username pas...