February 13th, 2003, 09:55 AM
Question about serial port control
I'm trying to use the MSComm control in order to communicate with a device through serial port. I'm sure this device works because I can check it with hyperterminal.
The problem appears when I send a command to the device with the MSComm's property Output and if I try to read the device's answer with MSComm's property Input, I read the command I sent before, so it seems as the Input and Output buffer were the same.
I tried to introduce a timing between the Output command and the answer of the device and the read was an empty string.
Thanks in advance.
February 13th, 2003, 05:35 PM
Are you accessing a modem? use "ATE0" to disable command echoing...
February 14th, 2003, 03:56 AM
serial port control
Thanks for the info but the device is not a modem. I have tried to communicate with this device through OnComm event but the results were the same as previous, it means not able to communicate.