PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: EagleWolf on December 19, 2013, 09:04:12 am

Title: Batch Files anyone?
Post by: EagleWolf on December 19, 2013, 09:04:12 am
I have been asked about providing an example of a batch file to send some data to the serial port and read the reply.
I know in the past I once did something with a batch file (although I can not find it) where I did something like "MODE COM1:9600,N,8,1" but I do not think I did anything about reading back???

Can it even be done? or would anyone have a simple example if it can be done?
Title: Re: Batch Files anyone?
Post by: Jan Axelson on December 19, 2013, 11:27:56 am
Maybe this will help:

http://stackoverflow.com/questions/3923894/how-to-read-data-from-com-port-using-batch-file