RS232SendWaitfor.exe is a Serial Communication Utility that sends any string over the serial port and waits for a response for the specified number of milliseconds. It returns an error code denoting success or failure. The returned error code may be queried by a command (batch) file or from an application that spawns the utility.
RS232SendWaitfor -b9600 COM1 2000 "ATr" "OKr"
The above example can be used to detect a modem on a COM port. The example in the command file in the product documentation below shows how the error level can be queried to see if it was successful or not.
Compatible with Windows 7,Windows Vista, Windows XP, Windows 2003, Windows 2000, Windows NT
Compatible with any COM port including USB/Serial adapters, Bluetooth/Serial Adapters, Ethernet/Serial Adapters as long as the export the COM interface
Can be a command/batch file
Can be spawned from any application
Returns error code that may be queried.
Query for the presence of a mode.
Query for the presence of equipment
Send commands to equipments like lathes and other CNC machines.
THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU (NOT WILLIES COMPUTER SOFTWARE COMPANY (WCSC) OR AN AUTHORIZED DEALER) ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT WILL WCSC BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH PROGRAM EVEN IF WCSC OR AN AUTHORIZED WCSC PERSONAL COMPUTER DEALER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
No part of this document may be reproduced mechanically, electronically, or in any form without first
receiving written authorization from Willies Computer Software Co.