1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MS-DOS batch file

  1. Apr 3, 2009 #1
    Hello

    Can any one help me please, I want to write a batch file in MS-DOS to:

    Communicate with the serial port, send data to the serial port from a specified file and for a respond to come back from the driver that first command being done and now ready for next line of data to be send it through the serial port to a stepper driver.


    Thanks for your help
     
  2. jcsd
  3. Apr 3, 2009 #2

    mgb_phys

    User Avatar
    Science Advisor
    Homework Helper

    That's going to be tricky to do with batch
    The normal tool for doing this sort of thing is expect http://expect.nist.gov/
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: MS-DOS batch file
  1. Reading a File (Replies: 2)

Loading...